Module getattr doesn't exist any more, it's now called newdir.

This commit is contained in:
Guido van Rossum 1992-08-19 16:49:37 +00:00
parent 1e28e5e596
commit 732282fa11
1 changed files with 2 additions and 2 deletions

View File

@ -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_':