From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:01:53 +0000 (+0200) Subject: [3.14] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (#139869) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60732d7397485262bd9fec4b017d029dd16b5e3a;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (#139869) Co-authored-by: Timothée Mazzucotelli --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 313cb6b5bcf1..b4364c371b2d 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__