Skip to content

Commit 46c6033

Browse files
committed
Remove internal _lazy_modules mention and bogus set_lazy_imports cross-ref from docs
1 parent 17de69e commit 46c6033

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Doc/library/sys.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,13 +1493,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only
14931493
``lazy import json``) is represented by an empty :class:`frozenset`.
14941494

14951495
A fresh snapshot is constructed on every attribute access, so the mapping
1496-
reflects the state of lazy imports at the time of access. The snapshot is
1497-
immutable; modifications must go through :func:`set_lazy_imports`.
1496+
reflects the state of lazy imports at the time of access.
14981497

1499-
The live, mutable registry is available as the private :data:`sys._lazy_modules`
1500-
for internal use.
1501-
1502-
See also :func:`set_lazy_imports`, :func:`get_lazy_imports`, and :pep:`810`.
1498+
See also :pep:`810`.
15031499

15041500
.. versionadded:: 3.15
15051501

0 commit comments

Comments
 (0)