[docs] [issue35325] imp.find_module() return value documentation discrepancy

Stefan Bauer (TraceTronic) report at bugs.python.org
Mon Dec 10 05:45:28 EST 2018


Stefan Bauer (TraceTronic) <stefan.bauer at tracetronic.de> added the comment:

Hi, thank you for your proposal. However, your version still contains the discepancy. Maybe I formulated the problem not clear, so let's try again:

The documentation should state that "pathname" will be None (not the empty string) for built-in and frozen modules in order to be in line with the implementation.

Thank you very much for your efforts.
Kind regards, Stefan

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35325>
_______________________________________


More information about the docs mailing list