summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-22 00:47:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-22 00:47:25 (GMT)
commit44e4d5a6fd97d7a9e17a150b30712bc02848ed2b (patch)
tree740813b9a19231f821c82efbaed97b586a669cd3 /Include/abstract.h
parentcea1c8ca22b318ce38a9a135c68b812f76b24404 (diff)
downloadcpython-44e4d5a6fd97d7a9e17a150b30712bc02848ed2b.zip
cpython-44e4d5a6fd97d7a9e17a150b30712bc02848ed2b.tar.gz
cpython-44e4d5a6fd97d7a9e17a150b30712bc02848ed2b.tar.bz2
Renamed PySequence_In() to PySequence_Contains().
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 3491724..a870f69 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -753,7 +753,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
expression: o.count(value).
*/
- int PySequence_In Py_PROTO((PyObject *o, PyObject *value));
+ int PySequence_Contains Py_PROTO((PyObject *o, PyObject *value));
+ #define PySequence_In PySequence_Contains
/*
Determine if o contains value. If an item in o is equal to