Skip to content

Commit

Permalink
pythongh-101390: Fix docs for imporlib.util.LazyLoader.factory to p…
Browse files Browse the repository at this point in the history
…roperly call it a class method (pythonGH-101391)

(cherry picked from commit 17143e2)

Co-authored-by: busywhitespace <[email protected]>
  • Loading branch information
busywhitespace authored and miss-islington committed Feb 10, 2023
1 parent c485f0e commit cea61cc
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 cea61cc

Please sign in to comment.