Skip to content

Commit 4cf159c

Browse files
Yhg1sAA-Turner
andauthored
Update peps/pep-0810.rst
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent f0f2682 commit 4cf159c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

peps/pep-0810.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ a migration path that allows them to support both new and old versions of
174174
Python at once. For this reason, the proposal includes the ``__lazy_modules__``
175175
global as a transitional mechanism. A module can declare which imports should
176176
be treated as lazy (by listing the module names as strings), and on Python 3.15
177-
or later those imports will become lazy automatically. On earlier versions the
177+
or later those imports will become lazy automatically, as if they were imported
178+
with the ``lazy`` keyword. On earlier versions the
178179
declaration is ignored, leaving imports eager. This gives authors a practical
179180
bridge until they can rely on the keyword as the canonical syntax.
180181

0 commit comments

Comments
 (0)