]> granicus.if.org Git - python/commitdiff
use the classmethod directive
authorBenjamin Peterson <benjamin@python.org>
Sun, 25 Jan 2009 19:44:16 +0000 (19:44 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 25 Jan 2009 19:44:16 +0000 (19:44 +0000)
Doc/library/importlib.rst

index ea56981315ce541d465fb9d1d7e61d58a995a5a2..4d132359199f252591711865ed64b154fbccf14b 100644 (file)
@@ -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.