File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1124,9 +1124,9 @@ the following writable attributes:
11241124
11251125.. attribute :: module.__lazy_modules__
11261126
1127- An :term: ` iterable ` of fully qualified module name strings. When defined
1127+ A container of fully qualified module name strings. When defined
11281128 at module scope, any regular :keyword: `import ` statement in that module whose
1129- target module name appears in this iterable is treated as a
1129+ target module name appears in this container is treated as a
11301130 :ref: `lazy import <lazy-imports >`, as if the :keyword: `lazy ` keyword had
11311131 been used. Imports inside functions, class bodies, or
11321132 :keyword: `try `/:keyword: `except `/:keyword: `finally ` blocks are unaffected.
Original file line number Diff line number Diff line change @@ -930,8 +930,8 @@ Compatibility mode via ``__lazy_modules__``
930930
931931As an alternative to using the :keyword: `lazy ` keyword, a module can opt
932932into lazy loading for specific imports by defining a module-level
933- :attr: `~module.__lazy_modules__ ` variable. When present, it must be an
934- :term: ` iterable ` of fully qualified module name strings. Any regular (non-``lazy ``)
933+ :attr: `~module.__lazy_modules__ ` variable. When present, it must be a
934+ container of fully qualified module name strings. Any regular (non-``lazy ``)
935935:keyword: `import ` statement at module scope whose target appears in
936936:attr: `!__lazy_modules__ ` is treated as a lazy import, exactly as if the
937937:keyword: `lazy ` keyword had been used.
You can’t perform that action at this time.
0 commit comments