Fix importlib.machinery.all_suffixes docs

This commit is contained in:
Nick Coghlan 2012-07-18 23:59:08 +10:00
parent 76e077001d
commit c5afd42df8
1 changed files with 4 additions and 4 deletions

View File

@ -539,13 +539,13 @@ find and load modules.
.. versionadded:: 3.3 .. versionadded:: 3.3
.. func:: all_suffixes() .. function:: all_suffixes()
Returns a combined list of strings representing all file suffixes for 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 helper for code which simply needs to know if a filesystem path
potentially represents a Python module (for example, potentially refers to a module without needing any details on the kind
:func:`inspect.getmodulename`) of module (for example, :func:`inspect.getmodulename`)
.. versionadded:: 3.3 .. versionadded:: 3.3