From 7ef2a1de9b81cc3a27d10de22e087008c301e602 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 22 May 1998 14:11:57 +0000 Subject: [PATCH] Shouldn't use newdir.dir(), which no longer exists! --- Lib/cmd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/cmd.py b/Lib/cmd.py index 85115bb9b5b..857bed127b7 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -54,8 +54,7 @@ def do_help(self, arg): return func() else: - import newdir - names = newdir.dir(self.__class__) + names = dir(self.__class__) cmds_doc = [] cmds_undoc = [] help = {}