From: Benjamin Peterson Date: Sun, 25 Jan 2009 19:44:16 +0000 (+0000) Subject: use the classmethod directive X-Git-Tag: v3.1a1~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97d3aa50b78ea62728d5767b426c9c6e2fae11cb;p=thirdparty%2FPython%2Fcpython.git use the classmethod directive --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index ea56981315ce..4d132359199f 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -95,12 +95,12 @@ find and load modules. Only class methods are defined by this class to alleviate the need for instantiation. - .. method:: find_module(fullname, path=None) + .. classmethod:: find_module(fullname, path=None) Class method that allows this class to be a :term:`finder` for built-in modules. - .. method:: load_module(fullname) + .. classmethod:: load_module(fullname) Class method that allows this class to be a :term:`loader` for built-in modules. @@ -113,12 +113,12 @@ find and load modules. Only class methods are defined by this class to alleviate the need for instantiation. - .. method:: find_module(fullname, path=None) + .. classmethod:: find_module(fullname, path=None) Class method that allows this class to be a :term:`finder` for frozen modules. - .. method:: load_module(fullname) + .. classmethod:: load_module(fullname) Class method that allows this class to be a :term:`loader` for frozen modules.