We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e170e commit b016818Copy full SHA for b016818
1 file changed
Lib/pydoc.py
@@ -2006,9 +2006,9 @@ def interact(self):
2006
request = self.getline('help> ')
2007
except (KeyboardInterrupt, EOFError):
2008
break
2009
- if not request or request.isspace():
2010
- continue # back to the prompt
2011
request = request.strip()
+ if not request:
+ continue # back to the prompt
2012
2013
# Make sure significant trailing quoting marks of literals don't
2014
# get deleted while cleaning input
0 commit comments