Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/library/typing.rst
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
AlexWaygood and JelleZijlstra authored Apr 19, 2024
commit a7f6f82a549e796eca74055fc8d2f39393997c3b
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3025,7 +3025,7 @@ Introspection helpers
This is often the same as ``obj.__annotations__``. In addition,
forward references encoded as string literals are handled by evaluating
them in ``globals``, ``locals`` and (where applicable)
:ref:`type parameter <annotation-scopes>` namespaces.
:ref:`type parameter <type-params>` namespaces.
For a class ``C``, return
Comment on lines +3027 to +3029
Copy link
Copy Markdown
Member Author

@AlexWaygood AlexWaygood Apr 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't usually add .. versionchanged notes for bugfixes (and I think this is a bugfix), but I could add one if we think this is a significant enough change to the function's semantics

a dictionary constructed by merging all the ``__annotations__`` along
``C.__mro__`` in reverse order.
Expand Down