summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
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 = {}