Skip to content

Commit 456c427

Browse files
committed
Doc rephrasing by Dan
1 parent 823bdcf commit 456c427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lazy_loader/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def attach(package_name, submodules=None, submod_attrs=None):
1616
from .foo import someattr
1717
1818
The idea is to replace a package's `__getattr__`, `__dir__`, and
19-
`__all__`, such that all imports work exactly the way they did
20-
before, except that they are only imported when used.
19+
`__all__`, such that all imports work exactly the way they would
20+
with normal imports, except that the import occurs upon first use.
2121
2222
The typical way to call this function, replacing the above imports, is::
2323

0 commit comments

Comments
 (0)