Skip to content

Commit f29c65d

Browse files
authored
Minor edits
1 parent 42ac558 commit f29c65d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lazy_loader/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,12 @@ def myfunc():
146146
147147
Warning
148148
-------
149-
150-
While lazily loading subpackages technically works, it causes the
149+
While lazily loading *sub*packages technically works, it causes the
151150
package (that contains the subpackage) to be eagerly loaded even
152151
if the package is already lazily loaded.
153152
So, you probably shouldn't use subpackages with this `load` feature.
154153
Instead you should encourage the package maintainers to use the
155-
lazy_loader `attach` feature to make their subpackages lazily load.
154+
`lazy_loader.attach` to make their subpackages load lazily.
156155
157156
Parameters
158157
----------

0 commit comments

Comments
 (0)