summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_code.h
diff options
context:
space:
mode:
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>2022-08-17 11:37:07 (GMT)
committerGitHub <noreply@github.com>2022-08-17 11:37:07 (GMT)
commit7276ca25f5f1440aa4d025350d3de15141854dde (patch)
tree253f8e34893018705c9f04810d68e2d798c1bd24 /Include/internal/pycore_code.h
parent36517101dd80cae93da379e95e98a688c52935b7 (diff)
downloadcpython-7276ca25f5f1440aa4d025350d3de15141854dde.zip
cpython-7276ca25f5f1440aa4d025350d3de15141854dde.tar.gz
cpython-7276ca25f5f1440aa4d025350d3de15141854dde.tar.bz2
GH-93911: Specialize `LOAD_ATTR` for custom `__getattribute__` (GH-93988)
Diffstat (limited to 'Include/internal/pycore_code.h')
-rw-r--r--Include/internal/pycore_code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h
index 61e40eb..7d5fe94 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -118,6 +118,7 @@ struct callable_cache {
PyObject *isinstance;
PyObject *len;
PyObject *list_append;
+ PyObject *object__getattribute__;
};
/* "Locals plus" for a code object is the set of locals + cell vars +