]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a...
authorbusywhitespace <busywhitespace@tuta.io>
Fri, 10 Feb 2023 23:29:24 +0000 (00:29 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Feb 2023 23:29:24 +0000 (15:29 -0800)
Doc/library/importlib.rst

index 3fc1531c0cdf19afbe2fc375a4b497ba04797f44..89efa64c6b5203884a445666857f3f6a29416613 100644 (file)
@@ -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.
       ::