[issue19697] Document the possible values for __main__.__spec__

Eric Snow report at bugs.python.org
Fri Mar 28 22:29:30 CET 2014


Eric Snow added the comment:

Here's a basic patch.  It introduces __main__ in import.rst and then identifies the cases where __spec__ is set to None or otherwise.

There are a few :ref: links to labels on other pages that I had trouble with.  I'll address those when I put up a new draft after feedback.  Any suggestions on making them work would be helpful. :)

----------
keywords: +patch
Added file: http://bugs.python.org/file34656/issue19697-basic.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19697>
_______________________________________


More information about the Python-bugs-list mailing list