diff options
author | Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | 2022-08-17 19:37:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 12:37:07 +0100 |
commit | 7276ca25f5f1440aa4d025350d3de15141854dde (patch) | |
tree | 253f8e34893018705c9f04810d68e2d798c1bd24 /Include/internal/pycore_code.h | |
parent | 36517101dd80cae93da379e95e98a688c52935b7 (diff) | |
download | cpython-git-7276ca25f5f1440aa4d025350d3de15141854dde.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 61e40eb8a9..7d5fe941fc 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 + |