Visitar URL original
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properl… · miss-islington/cpython@3974c6b · GitHub
Skip to content

Commit 3974c6b

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 2e7ff1f commit 3974c6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)