https://github.com/python/cpython/commit/72c231abf60b2512184646135537fca80f1b3ce0 commit: 72c231abf60b2512184646135537fca80f1b3ce0 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: AlexWaygood <[email protected]> date: 2025-10-09T18:00:04Z summary:
[3.13] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (#139870) Co-authored-by: Timothée Mazzucotelli <[email protected]> files: M Doc/library/typing.rst diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 1b9959eb143e40..05444690cd01fd 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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__ _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
