summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-18 13:59:08 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-18 13:59:08 (GMT)
commitc5afd42df886eec6c3008f8de1de21c3413308a8 (patch)
tree2e11de2257a9b78800704216d5312757af4cba7f
parent76e077001d9c593faaec1aa5187dd7870cb4481c (diff)
downloadcpython-c5afd42df886eec6c3008f8de1de21c3413308a8.zip
cpython-c5afd42df886eec6c3008f8de1de21c3413308a8.tar.gz
cpython-c5afd42df886eec6c3008f8de1de21c3413308a8.tar.bz2
Fix importlib.machinery.all_suffixes docs
-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 daf9e56..b114dd5 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -539,13 +539,13 @@ find and load modules.
.. 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