diff options
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r-- | Lib/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ class Cmd: continue prevname = name cmd=name[3:] - if help.has_key(cmd): + if cmd in help: cmds_doc.append(cmd) del help[cmd] elif getattr(self, name).__doc__: |