[Python-checkins] r68937 - python/branches/py3k/Doc/library/importlib.rst
benjamin.peterson
python-checkins at python.org
Sun Jan 25 20:44:16 CET 2009
Author: benjamin.peterson
Date: Sun Jan 25 20:44:16 2009
New Revision: 68937
Log:
use the classmethod directive
Modified:
python/branches/py3k/Doc/library/importlib.rst
Modified: python/branches/py3k/Doc/library/importlib.rst
==============================================================================
--- python/branches/py3k/Doc/library/importlib.rst (original)
+++ python/branches/py3k/Doc/library/importlib.rst Sun Jan 25 20:44:16 2009
@@ -95,12 +95,12 @@
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 @@
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.
More information about the Python-checkins
mailing list