8000 [3.10] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to … · python/cpython@6c0e3dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c0e3dc

Browse files
[3.10] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to properly call it a class method (GH-101391) (GH-101814)
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 2e7ff1f commit 6c0e3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/importlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ an :term:`importer`.
17221722

17231723
.. classmethod:: factory(loader)
17241724

1725-
A static method which returns a callable that creates a lazy loader. This
1725+
A class method which returns a callable that creates a lazy loader. This
17261726
is meant to be used in situations where the loader is passed by class
17271727
instead of by instance.
17281728
::

0 commit comments

Comments
 (0)
0