From: Timothée Mazzucotelli Date: Thu, 9 Oct 2025 17:53:42 +0000 (+0200) Subject: gh-139842: Clarify `__module__` description in typing.rst (#139863) X-Git-Tag: v3.15.0a1~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f575dd9ef815e79cb359f5466375363f0a5756ca;p=thirdparty%2FPython%2Fcpython.git gh-139842: Clarify `__module__` description in typing.rst (#139863) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index cfeeb19efbdf..279ae3ef8200 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__ @@ -2449,7 +2449,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__