From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 11 Feb 2023 00:24:28 +0000 (-0800) Subject: [3.11] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call... X-Git-Tag: v3.11.3~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91fb7c36a35e61d44387c49d4e65f7779c9892cf;p=thirdparty%2FPython%2Fcpython.git [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 --- 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. ::