diff options
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 40fb0d7..4e2dec7 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -3029,6 +3029,9 @@ dummy_func( } inst(GET_ITER, (iterable -- iter)) { + #ifdef Py_STATS + _Py_GatherStats_GetIter(iterable); + #endif /* before: [obj]; after [getiter(obj)] */ PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable)); PyStackRef_CLOSE(iterable); |