diff options
author | Guido van Rossum <guido@python.org> | 1992-08-19 16:49:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-08-19 16:49:37 (GMT) |
commit | 732282fa1130a027a51d406ed5132cde9ac636e7 (patch) | |
tree | f4913e6975325c8172da1d2c405116e9820f79ce /Lib/cmd.py | |
parent | 1e28e5e59634f56cdeaff528afb122a5735adf09 (diff) | |
download | cpython-732282fa1130a027a51d406ed5132cde9ac636e7.zip cpython-732282fa1130a027a51d406ed5132cde9ac636e7.tar.gz cpython-732282fa1130a027a51d406ed5132cde9ac636e7.tar.bz2 |
Module getattr doesn't exist any more, it's now called newdir.
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r-- | Lib/cmd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_': |