We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18af22 commit f5ec622Copy full SHA for f5ec622
peps/pep-0810.rst
@@ -461,9 +461,7 @@ immediately resolve all lazy objects (e.g. ``lazy from`` statements) that
461
referenced the module. It **only** resolves the lazy object being accessed.
462
463
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.
+the object.
467
468
However, calling ``globals()`` or accessing a module's ``__dict__`` does
469
**not** trigger reification -- they return the module's dictionary, and
0 commit comments