mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue