import: permit __name__ for use in __name__ = "__main__": (#124381)

permit __name__ for use in __name__ = "__main__":
This commit is contained in:
Thomas Grainger 2024-09-25 18:39:14 +01:00 committed by GitHub
parent 828583a785
commit 162d152146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ the module.
It is **strongly** recommended that you rely on :attr:`__spec__` and It is **strongly** recommended that you rely on :attr:`__spec__` and
its attributes instead of any of the other individual attributes its attributes instead of any of the other individual attributes
listed below. listed below, except :attr:`__name__`.
.. attribute:: __name__ .. attribute:: __name__