summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_code.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-03-04 11:31:29 (GMT)
committerGitHub <noreply@github.com>2022-03-04 11:31:29 (GMT)
commit03c2a36b2bd2d4469160d1607619ee144175d753 (patch)
tree828a98bada6b84ea722ac104da3b7e891f44d4cd /Include/internal/pycore_code.h
parent8f31bf46980956c735dd18f9914f3e7144e87c77 (diff)
downloadcpython-03c2a36b2bd2d4469160d1607619ee144175d753.zip
cpython-03c2a36b2bd2d4469160d1607619ee144175d753.tar.gz
cpython-03c2a36b2bd2d4469160d1607619ee144175d753.tar.bz2
bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658)
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 25c31a1..2e03358 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -398,6 +398,7 @@ typedef struct _object_stats {
uint64_t dict_materialized_on_request;
uint64_t dict_materialized_new_key;
uint64_t dict_materialized_too_big;
+ uint64_t dict_materialized_str_subclass;
} ObjectStats;
typedef struct _stats {