summaryrefslogtreecommitdiffstats
path: root/Doc/library/modulefinder.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-04-25 01:59:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-04-25 01:59:09 (GMT)
commite41251e864e94885d785b5a9bf8f824753316296 (patch)
treef530db7682d71f4920b22b8d7f84c89727647ab5 /Doc/library/modulefinder.rst
parent768db92b438038586c1580b711c528363a97d3f4 (diff)
downloadcpython-e41251e864e94885d785b5a9bf8f824753316296.zip
cpython-e41251e864e94885d785b5a9bf8f824753316296.tar.gz
cpython-e41251e864e94885d785b5a9bf8f824753316296.tar.bz2
Merged revisions 62490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r62490 | benjamin.peterson | 2008-04-24 20:29:10 -0500 (Thu, 24 Apr 2008) | 2 lines reformat some documentation of classes so methods and attributes are under the class directive ........
Diffstat (limited to 'Doc/library/modulefinder.rst')
-rw-r--r--Doc/library/modulefinder.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/Doc/library/modulefinder.rst b/Doc/library/modulefinder.rst
index d39f412..7a289f4 100644
--- a/Doc/library/modulefinder.rst
+++ b/Doc/library/modulefinder.rst
@@ -38,19 +38,21 @@ report of the imported modules will be printed.
be replaced in module paths.
-.. method:: ModuleFinder.report()
+ .. method:: report()
- Print a report to standard output that lists the modules imported by the script
- and their paths, as well as modules that are missing or seem to be missing.
+ Print a report to standard output that lists the modules imported by the
+ script and their paths, as well as modules that are missing or seem to be
+ missing.
+ .. method:: run_script(pathname)
-.. method:: ModuleFinder.run_script(pathname)
+ Analyze the contents of the *pathname* file, which must contain Python
+ code.
- Analyze the contents of the *pathname* file, which must contain Python code.
+ .. attribute:: modules
-.. attribute:: ModuleFinder.modules
-
- A dictionary mapping module names to modules. See :ref:`modulefinder-example`
+ A dictionary mapping module names to modules. See
+ :ref:`modulefinder-example`
.. _modulefinder-example: