Skip to content

Commit

Permalink
[3.10] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
miss-islington and busywhitespace committed Feb 11, 2023
1 parent 2e7ff1f commit 6c0e3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ an :term:`importer`.

.. classmethod:: factory(loader)

A static method which returns a callable that creates a lazy loader. This
A class method which returns a callable that creates a lazy loader. This
is meant to be used in situations where the loader is passed by class
instead of by instance.
::
Expand Down

0 comments on commit 6c0e3dc

Please sign in to comment.