No trailing separators on strings returned by find_module.
This commit is contained in:
parent
aba0acbf2a
commit
3846f50c37
|
@ -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".
|
||||
|
||||
|
|
Loading…
Reference in New Issue