Skip to content

Commit 72c231a

Browse files
[3.13] gh-139842: Clarify __module__ description in typing.rst (GH-139863) (#139870)
Co-authored-by: Timothée Mazzucotelli <[email protected]>
1 parent 94ff4d4 commit 72c231a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/typing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ without the dedicated syntax, as documented below.
22112211

22122212
.. attribute:: __module__
22132213

2214-
The module in which the type alias was defined::
2214+
The name of the module in which the type alias was defined::
22152215

22162216
>>> type Alias = int
22172217
>>> Alias.__module__
@@ -2360,7 +2360,7 @@ types.
23602360

23612361
.. attribute:: __module__
23622362

2363-
The module in which the new type is defined.
2363+
The name of the module in which the new type is defined.
23642364

23652365
.. attribute:: __name__
23662366

0 commit comments

Comments
 (0)