diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-09 22:43:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 22:43:24 (GMT) |
commit | 7542210a95dda6e9eb3e7f0c606940d6f3b75c72 (patch) | |
tree | 693fe964718d36ae0cf9ac6d07d261afb3823eae /Lib/test/test_pydoc/pydocfodder.py | |
parent | ca3eca1584c948d075eee904ad8f1bb910894212 (diff) | |
download | cpython-7542210a95dda6e9eb3e7f0c606940d6f3b75c72.zip cpython-7542210a95dda6e9eb3e7f0c606940d6f3b75c72.tar.gz cpython-7542210a95dda6e9eb3e7f0c606940d6f3b75c72.tar.bz2 |
[3.11] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#115228)
gh-115165: Fix `typing.Annotated` for immutable types (GH-115213)
The return value from an annotated callable can raise any exception from
__setattr__ for the `__orig_class__` property.
(cherry picked from commit 564385612cdf72c2fa8e629a68225fb2cd3b3d99)
Co-authored-by: dave-shawley <daveshawley@gmail.com>
Diffstat (limited to 'Lib/test/test_pydoc/pydocfodder.py')
0 files changed, 0 insertions, 0 deletions