]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Feb 2023 00:24:28 +0000 (16:24 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Feb 2023 00:24:28 +0000 (16:24 -0800)
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>
Doc/library/importlib.rst

index c29d69c143cfe6fadaed302fe970f35273bf2648..55668dacfe49fd31ef59a5f176ce67c602c2ccea 100644 (file)
@@ -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.
       ::