summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-22 14:11:57 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-22 14:11:57 (GMT)
commit7ef2a1de9b81cc3a27d10de22e087008c301e602 (patch)
tree19fcfd00d969de78415dffa8ab07d4400496e337 /Lib/cmd.py
parentb88679b2a4956109e11df64f463fdc36b4c1d67d (diff)
downloadcpython-7ef2a1de9b81cc3a27d10de22e087008c301e602.zip
cpython-7ef2a1de9b81cc3a27d10de22e087008c301e602.tar.gz
cpython-7ef2a1de9b81cc3a27d10de22e087008c301e602.tar.bz2
Shouldn't use newdir.dir(), which no longer exists!
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index 85115bb..857bed1 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 = {}