mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Module getattr doesn't exist any more, it's now called newdir.
This commit is contained in:
parent
1e28e5e596
commit
732282fa11
1 changed files with 2 additions and 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_':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue