]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] 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:42 +0000 (16:24 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Feb 2023 00:24:42 +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 f1cf9eec5d54354d85699f3a41275681ea703057..20305150d648a9f71cf2ae3d5cec28e05b614e43 100644 (file)
@@ -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.
       ::