summaryrefslogtreecommitdiffstats
path: root/Include/cpython/frameobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/frameobject.h')
-rw-r--r--Include/cpython/frameobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/frameobject.h b/Include/cpython/frameobject.h
index 6f3efe3..a3dc666 100644
--- a/Include/cpython/frameobject.h
+++ b/Include/cpython/frameobject.h
@@ -35,7 +35,7 @@ PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
/* Returns the code object of the frame (strong reference).
* Does not raise an exception. */
-PyAPI_FUNC(PyCodeObject *) PyUnstable_InterpreterFrame_GetCode(struct _PyInterpreterFrame *frame);
+PyAPI_FUNC(PyObject *) PyUnstable_InterpreterFrame_GetCode(struct _PyInterpreterFrame *frame);
/* Returns a byte ofsset into the last executed instruction.
* Does not raise an exception. */