mirror of
https://github.com/python/cpython.git
synced 2026-01-08 08:22:41 +00:00
[3.11] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to 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 17143e2c30)
Co-authored-by: busywhitespace <busywhitespace@tuta.io>
This commit is contained in:
parent
c485f0e39e
commit
91fb7c36a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue