diff options
author | Gregory Beauregard <greg@greg.red> | 2022-02-07 16:21:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 16:21:56 (GMT) |
commit | e2eeffefed32bb8c47c09bdd94e27a4e949894ef (patch) | |
tree | 8ba59ca23812faddd3097782ac10e42a1b3ecc12 /Misc/NEWS.d | |
parent | c1ff4cb98b11c00aee765019364544c71e7dd2df (diff) | |
download | cpython-e2eeffefed32bb8c47c09bdd94e27a4e949894ef.zip cpython-e2eeffefed32bb8c47c09bdd94e27a4e949894ef.tar.gz cpython-e2eeffefed32bb8c47c09bdd94e27a4e949894ef.tar.bz2 |
[3.10] bpo-46655: allow stringized TypeAlias with get_type_hints (GH-31156). (#31175)
(cherry picked from commit 77b025be4a4cd5a3bfc1b1af560cc57e8e956c98)
Co-authored-by: Gregory Beauregard <greg@greg.red>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-02-06-08-54-03.bpo-46655.DiLzYv.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-06-08-54-03.bpo-46655.DiLzYv.rst b/Misc/NEWS.d/next/Library/2022-02-06-08-54-03.bpo-46655.DiLzYv.rst new file mode 100644 index 0000000..4f0de95 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-02-06-08-54-03.bpo-46655.DiLzYv.rst @@ -0,0 +1 @@ +In :func:`typing.get_type_hints`, support evaluating bare stringified ``TypeAlias`` annotations. Patch by Gregory Beauregard.
\ No newline at end of file |