summaryrefslogtreecommitdiff
path: root/Modules/_opcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_opcode.c')
-rw-r--r--Modules/_opcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_opcode.c b/Modules/_opcode.c
index 39e3066955..4812716c67 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 COLLECT_SPECIALIZATION_STATS
+#ifdef Py_STATS
return _Py_GetSpecializationStats();
#else
Py_RETURN_NONE;