[Python-checkins] [3.11] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391) (#GH-101813)

brettcannon webhook-mailer at python.org
Fri Feb 10 19:24:45 EST 2023


https://github.com/python/cpython/commit/91fb7c36a35e61d44387c49d4e65f7779c9892cf
commit: 91fb7c36a35e61d44387c49d4e65f7779c9892cf
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: brettcannon <brett at python.org>
date: 2023-02-10T16:24:28-08:00
summary:

[3.11] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391) (#GH-101813)

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 at tuta.io>

files:
M Doc/library/importlib.rst

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index c29d69c143cf..55668dacfe49 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -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.
       ::



More information about the Python-checkins mailing list