summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-01 02:13:27 (GMT)
committerGitHub <noreply@github.com>2022-06-01 02:13:27 (GMT)
commit00f8fe956491816f03f1cc76bc7ed297cd9c0930 (patch)
tree7904b965d037f02ca1dd7cbb960309069edad66c /Include
parentb425d887aa51c8e7900b08cb8df457f450f6fbfd (diff)
downloadcpython-00f8fe956491816f03f1cc76bc7ed297cd9c0930.zip
cpython-00f8fe956491816f03f1cc76bc7ed297cd9c0930.tar.gz
cpython-00f8fe956491816f03f1cc76bc7ed297cd9c0930.tar.bz2
[3.11] gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335) (#92484)
* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335) (cherry picked from commit 9d25db9db1617f012d7dba118b5b8f2b9e25e116) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * Regenerate ABI file Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_global_strings.h3
-rw-r--r--Include/internal/pycore_runtime_init.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/Include/internal/pycore_global_strings.h b/Include/internal/pycore_global_strings.h
index 4e1f2ec..cfa8ae9 100644
--- a/Include/internal/pycore_global_strings.h
+++ b/Include/internal/pycore_global_strings.h
@@ -201,8 +201,9 @@ struct _Py_global_strings {
STRUCT_FOR_ID(__subclasshook__)
STRUCT_FOR_ID(__truediv__)
STRUCT_FOR_ID(__trunc__)
+ STRUCT_FOR_ID(__typing_is_unpacked_typevartuple__)
STRUCT_FOR_ID(__typing_subst__)
- STRUCT_FOR_ID(__typing_unpacked__)
+ STRUCT_FOR_ID(__typing_unpacked_tuple_args__)
STRUCT_FOR_ID(__warningregistry__)
STRUCT_FOR_ID(__weakref__)
STRUCT_FOR_ID(__xor__)
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index c1c5fd5..57cacb9 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -824,8 +824,9 @@ extern "C" {
INIT_ID(__subclasshook__), \
INIT_ID(__truediv__), \
INIT_ID(__trunc__), \
+ INIT_ID(__typing_is_unpacked_typevartuple__), \
INIT_ID(__typing_subst__), \
- INIT_ID(__typing_unpacked__), \
+ INIT_ID(__typing_unpacked_tuple_args__), \
INIT_ID(__warningregistry__), \
INIT_ID(__weakref__), \
INIT_ID(__xor__), \