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

index 1b9959eb143e40c4cba9d526eeeedc35c268f318..05444690cd01fdf284fa5c7dc76d7f5c7646c7aa 100644 (file)
@@ -2211,7 +2211,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__
@@ -2360,7 +2360,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__