mirror of
https://github.com/python/cpython.git
synced 2026-03-10 23:10:48 +00:00
[3.10] gh-101390: Fix docs for imporlib.util.LazyLoader.factory to 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 17143e2c30)
Co-authored-by: busywhitespace <busywhitespace@tuta.io>
This commit is contained in:
parent
2e7ff1fcf6
commit
6c0e3dc8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue