summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index a4b1bc3..0d6744d 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -754,6 +754,12 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
DL_IMPORT(int) PySequence_Contains Py_PROTO((PyObject *o, PyObject *value));
+
+/* For DLL-level backwards compatibility */
+#undef PySequence_In
+ DL_IMPORT(int) PySequence_In Py_PROTO((PyObject *o, PyObject *value));
+
+/* For source-level backwards compatibility */
#define PySequence_In PySequence_Contains
/*