mirror of https://github.com/python/cpython.git
import: permit __name__ for use in __name__ = "__main__": (#124381)
permit __name__ for use in __name__ = "__main__":
This commit is contained in:
parent
828583a785
commit
162d152146
|
@ -544,7 +544,7 @@ the module.
|
|||
|
||||
It is **strongly** recommended that you rely on :attr:`__spec__` and
|
||||
its attributes instead of any of the other individual attributes
|
||||
listed below.
|
||||
listed below, except :attr:`__name__`.
|
||||
|
||||
.. attribute:: __name__
|
||||
|
||||
|
|
Loading…
Reference in New Issue