This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Windson Yang
Recipients StefanBauerTT, Windson Yang, docs@python
Date 2019-01-05.02:54:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546656891.12.0.57769235005.issue35325@roundup.psfhosted.org>
In-reply-to
Content
> 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.

Both the "file" and "pathname" will be None for built-in and frozen modules, right? In the PR @ericsnowcurrently suggested add:

>  If the module is built-in or frozen then *file* and *pathname* are both ``None`` and the *description* tuple contains empty...

I think it also works.
History
Date User Action Args
2019-01-05 02:54:53Windson Yangsetrecipients: + Windson Yang, docs@python, StefanBauerTT
2019-01-05 02:54:51Windson Yangsetmessageid: <1546656891.12.0.57769235005.issue35325@roundup.psfhosted.org>
2019-01-05 02:54:51Windson Yanglinkissue35325 messages
2019-01-05 02:54:51Windson Yangcreate