Skip to content

Commit e30f83f

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

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

peps/pep-0810.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,9 +1231,7 @@ Can I force reification of a lazy import without using it?
12311231
----------------------------------------------------------
12321232

12331233
Yes, individual lazy objects can be resolved by calling their ``resolve()``
1234-
method. Note that accessing a module's ``__dict__`` or calling ``globals()``
1235-
does **not** automatically reify lazy imports -- you'll see the lazy proxy
1236-
objects themselves, which you can then manually resolve if needed.
1234+
method.
12371235

12381236
What's the difference between ``globals()`` and ``mod.__dict__`` for lazy imports?
12391237
----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)