Skip to content

Commit 91fb7c3

Browse files
[3.11] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to properly call it a class method (GH-101391) (#GH-101813)
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391) (cherry picked from commit 17143e2) Co-authored-by: busywhitespace <busywhitespace@tuta.io>
1 parent c485f0e commit 91fb7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/importlib.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ an :term:`importer`.
14621462

14631463
.. classmethod:: factory(loader)
14641464

1465-
A static method which returns a callable that creates a lazy loader. This
1465+
A class method which returns a callable that creates a lazy loader. This
14661466
is meant to be used in situations where the loader is passed by class
14671467
instead of by instance.
14681468
::

0 commit comments

Comments
 (0)