]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Shouldn't use newdir.dir(), which no longer exists!
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 14:11:57 +0000 (14:11 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 14:11:57 +0000 (14:11 +0000)
Lib/cmd.py

index 85115bb9b5bd360a293951d206f5cc90a57b22b9..857bed127b749f253ac1b3b8b378e8af7427b99c 100644 (file)
@@ -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 = {}