]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (#139869)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Oct 2025 18:01:53 +0000 (20:01 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Oct 2025 18:01:53 +0000 (18:01 +0000)
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
Doc/library/typing.rst

index 313cb6b5bcf1c4475f90646738e96ae1be663be4..b4364c371b2d7e73f1d386834fe66436a53b1d1f 100644 (file)
@@ -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__
@@ -2462,7 +2462,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__