8000 gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properl… · miss-islington/cpython@cea61cc · GitHub
[go: up one dir, main page]

Skip to content

Commit cea61cc

Browse files
busywhitespacemiss-islington
authored andcommitted
pythongh-101390: Fix docs for imporlib.util.LazyLoader.factory to properly call it a class method (pythonGH-101391)
(cherry picked from commit 17143e2) Co-authored-by: busywhitespace <busywhitespace@tuta.io>
1 parent c485f0e commit cea61cc

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
@@ -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)
0