Skip to content

Commit 60732d7

Browse files
[3.14] gh-139842: Clarify __module__ description in typing.rst (GH-139863) (#139869)
Co-authored-by: Timothée Mazzucotelli <[email protected]>
1 parent af1cb1c commit 60732d7

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
@@ -2269,7 +2269,7 @@ without the dedicated syntax, as documented below.
22692269

22702270
.. attribute:: __module__
22712271

2272-
The module in which the type alias was defined::
2272+
The name of the module in which the type alias was defined::
22732273

22742274
>>> type Alias = int
22752275
>>> Alias.__module__
@@ -2462,7 +2462,7 @@ types.
24622462

24632463
.. attribute:: __module__
24642464

2465-
The module in which the new type is defined.
2465+
The name of the module in which the new type is defined.
24662466

24672467
.. attribute:: __name__
24682468

0 commit comments

Comments
 (0)