From f4b6e33177160c3e8eb955e6ef5d03a161bd9e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Thu, 9 Oct 2025 19:53:42 +0200 Subject: [PATCH] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (cherry picked from commit f575dd9ef815e79cb359f5466375363f0a5756ca) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Timothée Mazzucotelli --- Doc/library/typing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 313cb6b5bcf1c4..b4364c371b2d7e 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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__