diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-08-12 11:15:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 11:15:06 (GMT) |
commit | 8ac0886091c27bf4b6bb0a9b571e174b554d31a4 (patch) | |
tree | 9e9f3710581381eaa65a4e89eadfbb493228fffc /Modules | |
parent | a530a9538f3f444bebd2d2b71fe5f2e747e76d73 (diff) | |
download | cpython-8ac0886091c27bf4b6bb0a9b571e174b554d31a4.zip cpython-8ac0886091c27bf4b6bb0a9b571e174b554d31a4.tar.gz cpython-8ac0886091c27bf4b6bb0a9b571e174b554d31a4.tar.bz2 |
bpo-44890: collect specialization stats if Py_DEBUG (GH-27731)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_opcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_opcode.c b/Modules/_opcode.c index d440b5c..39e3066 100644 --- a/Modules/_opcode.c +++ b/Modules/_opcode.c @@ -85,7 +85,7 @@ static PyObject * _opcode_get_specialization_stats_impl(PyObject *module) /*[clinic end generated code: output=fcbc32fdfbec5c17 input=e1f60db68d8ce5f6]*/ { -#if SPECIALIZATION_STATS +#if COLLECT_SPECIALIZATION_STATS return _Py_GetSpecializationStats(); #else Py_RETURN_NONE; |