summaryrefslogtreecommitdiffstats
path: root/Include/cpython/weakrefobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/weakrefobject.h')
-rw-r--r--Include/cpython/weakrefobject.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/cpython/weakrefobject.h b/Include/cpython/weakrefobject.h
index 26b364f..fd79fdc 100644
--- a/Include/cpython/weakrefobject.h
+++ b/Include/cpython/weakrefobject.h
@@ -53,6 +53,4 @@ static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) {
}
return Py_None;
}
-#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
-# define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref))
-#endif
+#define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref))