From: busywhitespace Date: Fri, 10 Feb 2023 23:29:24 +0000 (+0100) Subject: gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a... X-Git-Tag: v3.12.0a6~185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17143e2c30ae5e51945e04eeaec7ebb0e1f07fb5;p=thirdparty%2FPython%2Fcpython.git gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391) --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 3fc1531c0cdf..89efa64c6b52 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -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. ::