Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01e63e commit e4539d0Copy full SHA for e4539d0
1 file changed
pythoncapi_compat.h
@@ -19,7 +19,11 @@ extern "C" {
19
#endif
20
21
#include <Python.h>
22
-#include "frameobject.h" // PyFrameObject, PyFrame_GetBack()
+
23
+// Python 3.11.0b4 added PyFrame_Back() to Python.h
24
+#if PY_VERSION_HEX < 0x030b00B4 && !defined(PYPY_VERSION)
25
+# include "frameobject.h" // PyFrameObject, PyFrame_GetBack()
26
+#endif
27
28
29
#ifndef _Py_CAST
0 commit comments