diff options
author | Guido van Rossum <guido@python.org> | 1998-05-22 14:11:57 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-22 14:11:57 +0000 |
commit | 7ef2a1de9b81cc3a27d10de22e087008c301e602 (patch) | |
tree | 19fcfd00d969de78415dffa8ab07d4400496e337 | |
parent | b88679b2a4956109e11df64f463fdc36b4c1d67d (diff) | |
download | cpython-git-7ef2a1de9b81cc3a27d10de22e087008c301e602.tar.gz |
Shouldn't use newdir.dir(), which no longer exists!
-rw-r--r-- | Lib/cmd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py index 85115bb9b5..857bed127b 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -54,8 +54,7 @@ class Cmd: return func() else: - import newdir - names = newdir.dir(self.__class__) + names = dir(self.__class__) cmds_doc = [] cmds_undoc = [] help = {} |