mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-139842: Clarify __module__ description in typing.rst (#139863)
This commit is contained in:
parent
04461510fb
commit
f575dd9ef8
1 changed files with 2 additions and 2 deletions
|
|
@ -2269,7 +2269,7 @@ without the dedicated syntax, as documented below.
|
|||
|
||||
.. attribute:: __module__
|
||||
|
||||
The module in which the type alias was defined::
|
||||
The name of the module in which the type alias was defined::
|
||||
|
||||
>>> type Alias = int
|
||||
>>> Alias.__module__
|
||||
|
|
@ -2449,7 +2449,7 @@ types.
|
|||
|
||||
.. attribute:: __module__
|
||||
|
||||
The module in which the new type is defined.
|
||||
The name of the module in which the new type is defined.
|
||||
|
||||
.. attribute:: __name__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue