Windson Yang <wiwind...@outlook.com> added the comment:
> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35325> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com