Skip to content

Commit

Permalink
[3.11] 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-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>
  • Loading branch information
miss-islington and busywhitespace authored Feb 11, 2023
1 parent c485f0e commit 91fb7c3
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 @@ -1462,7 +1462,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 91fb7c3

Please sign in to comment.