diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-30 11:24:15 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-30 11:24:15 -0500 |
commit | b9d27384614ec8d2bd2ae16ae8d0b79a59f026ea (patch) | |
tree | 22cb04fd19e7a40e7dc74e7731754b1ee8c64ccc | |
parent | 254de0ed5895c13c8f40df811f4273a8b91f131a (diff) | |
download | python-coveragepy-b9d27384614ec8d2bd2ae16ae8d0b79a59f026ea.tar.gz |
Fix a bad variable
-rw-r--r-- | coverage/ctracer/tracer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/ctracer/tracer.c b/coverage/ctracer/tracer.c index 7c8065c..42587b1 100644 --- a/coverage/ctracer/tracer.c +++ b/coverage/ctracer/tracer.c @@ -764,7 +764,7 @@ CTracer_handle_return(CTracer *self, PyFrameObject *frame) Py_INCREF(self->context); STATS( self->stats.pycalls++; ) - val = PyObject_CallFunctionObjArgs(self->switch_context, context, NULL); + val = PyObject_CallFunctionObjArgs(self->switch_context, self->context, NULL); if (val == NULL) { goto error; } |