Skip to content

Commit 8229778

Browse files
committed
Improve sys.lazy_modules docs
1 parent 003d362 commit 8229778

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/sys.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,10 +1484,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only
14841484

14851485
.. data:: lazy_modules
14861486

1487-
A :class:`set` of fully qualified module name strings that have been lazily
1488-
imported in the current interpreter but not yet loaded. When a
1489-
lazily imported module is accessed for the first time, its name is removed
1490-
from this set.
1487+
A :class:`set` of strings capturing lazily imported modules or module members
1488+
in the current interpreter. When a lazily imported module or module
1489+
member is accessed and its delayed import is successful, its name is
1490+
removed from this set.
14911491

14921492
This attribute is intended for debugging and introspection.
14931493

0 commit comments

Comments
 (0)