summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-23 08:20:15 (GMT)
committerGitHub <noreply@github.com>2023-01-23 08:20:15 (GMT)
commit29ff9daf823ec7af7875c6642f1e191ed48e3b73 (patch)
treef0c0c33f47d1aabed969c84c2a76f049eb92e995 /Misc
parent69d12d868ed551b45ed449e73b30db96dbc3e45b (diff)
downloadcpython-29ff9daf823ec7af7875c6642f1e191ed48e3b73.zip
cpython-29ff9daf823ec7af7875c6642f1e191ed48e3b73.tar.gz
cpython-29ff9daf823ec7af7875c6642f1e191ed48e3b73.tar.bz2
gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (GH-101031)
(cherry picked from commit 807d6b576fa37f3ab7eb951297cb365c0c198595) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-01-14-12-58-21.gh-issue-101015.stWFid.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-01-14-12-58-21.gh-issue-101015.stWFid.rst b/Misc/NEWS.d/next/Library/2023-01-14-12-58-21.gh-issue-101015.stWFid.rst
new file mode 100644
index 0000000..b9d73ff
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-01-14-12-58-21.gh-issue-101015.stWFid.rst
@@ -0,0 +1,2 @@
+Fix :func:`typing.get_type_hints` on ``'*tuple[...]'`` and ``*tuple[...]``.
+It must not drop the ``Unpack`` part.