diff options
Diffstat (limited to 'Lib/pydoc.py')
| -rwxr-xr-x | Lib/pydoc.py | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 3afb981..1103b01 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1751,6 +1751,7 @@ has the same effect as typing a particular string at the help> prompt.      def help(self, request):          if type(request) is type(''): +            request = request.strip()              if request == 'help': self.intro()              elif request == 'keywords': self.listkeywords()              elif request == 'symbols': self.listsymbols()  | 
