No trailing separators on strings returned by find_module.

This commit is contained in:
Eric V. Smith 2012-04-30 19:04:39 -04:00
parent aba0acbf2a
commit 3846f50c37
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ These finders' ``find_module`` methods currently return either a
"loader" object or None. For a finder to contribute to namespace
packages, ``find_module`` will return a third type: a string. This is
the string that will be recorded and later used as a component of the
namespace module's __path__, as described above.
namespace module's ``__path__``, as described above. This string must
not contain a trailing path separator.
There is no impact on PEP 302 "loaders".