From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 11 Feb 2023 00:24:42 +0000 (-0800) Subject: [3.10] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call... X-Git-Tag: v3.10.11~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c0e3dc8ef958e1d2eb2fc4e59a9152e85e65da0;p=thirdparty%2FPython%2Fcpython.git [3.10] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391) (GH-101814) 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 f1cf9eec5d54..20305150d648 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -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. ::