summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-05-18 13:38:43 (GMT)
committerGitHub <noreply@github.com>2022-05-18 13:38:43 (GMT)
commita4460f2eb8b9db46a9bce3c450c8b038038a7c93 (patch)
tree7b05dbe2f220e575f642bf5c66fa1a54478aeb32 /Objects/genobject.c
parent3fa023721b495e02e1e6c89fdc737afc7d186cb5 (diff)
downloadcpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.zip
cpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.tar.gz
cpython-a4460f2eb8b9db46a9bce3c450c8b038038a7c93.tar.bz2
Split refcount stats into 'interpreter' and 'non-interpreter' (GH-92919)
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index b9a0c30..a88522a 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -1,5 +1,7 @@
/* Generator object implementation */
+#define _PY_INTERPRETER
+
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _PyEval_EvalFrame()