summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-11 00:24:42 (GMT)
committerGitHub <noreply@github.com>2023-02-11 00:24:42 (GMT)
commit6c0e3dc8ef958e1d2eb2fc4e59a9152e85e65da0 (patch)
treef21cc0594f0cbf569678de73df567b6a9658c148
parent2e7ff1fcf67dcbcf872c699d95cc8b01771c0698 (diff)
downloadcpython-6c0e3dc8ef958e1d2eb2fc4e59a9152e85e65da0.zip
cpython-6c0e3dc8ef958e1d2eb2fc4e59a9152e85e65da0.tar.gz
cpython-6c0e3dc8ef958e1d2eb2fc4e59a9152e85e65da0.tar.bz2
[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 17143e2c30ae5e51945e04eeaec7ebb0e1f07fb5) Co-authored-by: busywhitespace <busywhitespace@tuta.io>
-rw-r--r--Doc/library/importlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index f1cf9ee..2030515 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -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.
::