mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
correctly lookup __dir__
This commit is contained in:
parent
2cca057284
commit
7963a35b41
3 changed files with 10 additions and 5 deletions
|
@ -1595,6 +1595,7 @@ order (MRO) for bases """
|
|||
# probably not worth it.
|
||||
# ("__enter__", run_context, iden),
|
||||
# ("__exit__", run_context, iden),
|
||||
("__dir__", dir, empty_seq, set(), {}),
|
||||
]
|
||||
|
||||
class Checker(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue