commit | 732282fa1130a027a51d406ed5132cde9ac636e7 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 19 16:49:37 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 19 16:49:37 1992 +0000 |
tree | f4913e6975325c8172da1d2c405116e9820f79ce | |
parent | 1e28e5e59634f56cdeaff528afb122a5735adf09 [diff] [blame] |
Module getattr doesn't exist any more, it's now called newdir.
diff --git a/Lib/cmd.py b/Lib/cmd.py index ab37a98..e07019f 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py
@@ -55,8 +55,8 @@ return func() else: - import getattr - names = getattr.dir(self) + import newdir + names = newdir.dir(self) cmds = [] for name in names: if name[:3] == 'do_':