summaryrefslogtreecommitdiff
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-25 19:44:16 +0000
committerBenjamin Peterson <benjamin@python.org>2009-01-25 19:44:16 +0000
commit97d3aa50b78ea62728d5767b426c9c6e2fae11cb (patch)
tree8178ac7ce829ceff551ca199d95384d88e4a314f /Doc/library/importlib.rst
parent3fe61d5282d647a8ed763c805dce1c51429c6588 (diff)
downloadcpython-git-97d3aa50b78ea62728d5767b426c9c6e2fae11cb.tar.gz
use the classmethod directive
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index ea56981315..4d13235919 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.