summaryrefslogtreecommitdiff
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-19 16:49:37 +0000
committerGuido van Rossum <guido@python.org>1992-08-19 16:49:37 +0000
commita70461967a948d0f2e6df61c2295e5964a957eef (patch)
treef4913e6975325c8172da1d2c405116e9820f79ce /Lib/cmd.py
parente9c5379ab46c3706148ee459e3b6aa5625545d8b (diff)
downloadcpython-a70461967a948d0f2e6df61c2295e5964a957eef.tar.gz
Module getattr doesn't exist any more, it's now called newdir.
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index ab37a98dfa..e07019f2a8 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -55,8 +55,8 @@ class Cmd:
return
func()
else:
- import getattr
- names = getattr.dir(self)
+ import newdir
+ names = newdir.dir(self)
cmds = []
for name in names:
if name[:3] == 'do_':