[Python-checkins] cpython: Fix importlib.machinery.all_suffixes docs

nick.coghlan python-checkins at python.org
Wed Jul 18 15:59:25 CEST 2012


http://hg.python.org/cpython/rev/11a08c377a3b
changeset:   78162:11a08c377a3b
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Wed Jul 18 23:59:08 2012 +1000
summary:
  Fix importlib.machinery.all_suffixes docs

files:
  Doc/library/importlib.rst |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -539,13 +539,13 @@
    .. versionadded:: 3.3
 
 
-.. func:: all_suffixes()
+.. function:: all_suffixes()
 
    Returns a combined list of strings representing all file suffixes for
-   Python modules recognized by the standard import machinery. This is a
+   modules recognized by the standard import machinery. This is a
    helper for code which simply needs to know if a filesystem path
-   potentially represents a Python module (for example,
-   :func:`inspect.getmodulename`)
+   potentially refers to a module without needing any details on the kind
+   of module (for example, :func:`inspect.getmodulename`)
 
    .. versionadded:: 3.3
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list