Skip to content

Commit f5ec622

Browse files
pablogsalYhg1s
andauthored
Update pep-0810.rst
Co-authored-by: T. Wouters <thomas@python.org>
1 parent b18af22 commit f5ec622

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

peps/pep-0810.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,7 @@ immediately resolve all lazy objects (e.g. ``lazy from`` statements) that
461461
referenced the module. It **only** resolves the lazy object being accessed.
462462

463463
Accessing a lazy object (from a global variable or a module attribute) reifies
464-
the object. Calling ``dir()`` at the global scope will not reify the globals
465-
and calling ``dir(mod)`` will be special cased in ``mod.__dir__`` to avoid
466-
reification as well.
464+
the object.
467465

468466
However, calling ``globals()`` or accessing a module's ``__dict__`` does
469467
**not** trigger reification -- they return the module's dictionary, and

0 commit comments

Comments
 (0)