summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_global_strings.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-09 12:27:03 (GMT)
committerGitHub <noreply@github.com>2023-07-09 12:27:03 (GMT)
commit93d292c2b3f8e85ef562c37f59678c639b9b8fcb (patch)
tree17f1ff429d63ab4c900d2fd2a3bcf143e53e760f /Include/internal/pycore_global_strings.h
parentd137c2cae28b79555433079d917c3e0614bdcd61 (diff)
downloadcpython-93d292c2b3f8e85ef562c37f59678c639b9b8fcb.zip
cpython-93d292c2b3f8e85ef562c37f59678c639b9b8fcb.tar.gz
cpython-93d292c2b3f8e85ef562c37f59678c639b9b8fcb.tar.bz2
gh-106303: Use _PyObject_LookupAttr() instead of PyObject_GetAttr() (GH-106304)
It simplifies and speed up the code.
Diffstat (limited to 'Include/internal/pycore_global_strings.h')
-rw-r--r--Include/internal/pycore_global_strings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_global_strings.h b/Include/internal/pycore_global_strings.h
index 3c9c122..bb1fb13 100644
--- a/Include/internal/pycore_global_strings.h
+++ b/Include/internal/pycore_global_strings.h
@@ -157,6 +157,7 @@ struct _Py_global_strings {
STRUCT_FOR_ID(__lshift__)
STRUCT_FOR_ID(__lt__)
STRUCT_FOR_ID(__main__)
+ STRUCT_FOR_ID(__match_args__)
STRUCT_FOR_ID(__matmul__)
STRUCT_FOR_ID(__missing__)
STRUCT_FOR_ID(__mod__)