mirror of https://github.com/python/cpython
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391)
This commit is contained in:
parent
61f2be0866
commit
17143e2c30
|
@ -1387,7 +1387,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…
Reference in New Issue