From: Guido van Rossum Date: Fri, 22 May 1998 14:11:57 +0000 (+0000) Subject: Shouldn't use newdir.dir(), which no longer exists! X-Git-Tag: v1.5.2a1~563 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ef2a1de9b81cc3a27d10de22e087008c301e602;p=thirdparty%2FPython%2Fcpython.git Shouldn't use newdir.dir(), which no longer exists! --- diff --git a/Lib/cmd.py b/Lib/cmd.py index 85115bb9b5bd..857bed127b74 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 = {}