E5E0 gh-124120: Document `Annotated.__origin__` by sobolevn · Pull Request #124125 · python/cpython · GitHub
[go: up one dir, main page]

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
Next Next commit
Update Doc/library/typing.rst
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
  • Loading branch information
sobolevn and brianschubert authored Sep 16, 2024
commit a9a3f74e711cf56e9926afcd0e1896bc84623d3a
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ These can be used as types in annotations. They all support subscription using
>>> X.__metadata__
('very', 'important', 'metadata')

* At runtime, if you want to retrive the original
* At runtime, if you want to retrieve the original
type wrapped by ``Annotated``, use :attr:`!__origin__` attribute:

.. doctest::
Expand Down
0