summaryrefslogtreecommitdiffstats
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-22 00:54:16 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-22 00:54:16 (GMT)
commitb1ed9c529579ebeba7bafabeaa9254f8df3c33f9 (patch)
tree1f049fe316e5f921af412f0b8ae36b19a8f60a93 /Modules/operator.c
parent7df115de652afa918f35b1028534ed621c45160d (diff)
downloadcpython-b1ed9c529579ebeba7bafabeaa9254f8df3c33f9.zip
cpython-b1ed9c529579ebeba7bafabeaa9254f8df3c33f9.tar.gz
cpython-b1ed9c529579ebeba7bafabeaa9254f8df3c33f9.tar.bz2
PySequence_In() -> PySequence_Contains().
Diffstat (limited to 'Modules/operator.c')
-rw-r--r--Modules/operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/operator.c b/Modules/operator.c
index 4e9111d..44b44f9 100644
--- a/Modules/operator.c
+++ b/Modules/operator.c
@@ -131,7 +131,7 @@ spam2(op_or_ , PyNumber_Or)
spami(isSequenceType , PySequence_Check)
spam2(op_concat , PySequence_Concat)
spamoi(op_repeat , PySequence_Repeat)
-spami2(sequenceIncludes, PySequence_In)
+spami2(sequenceIncludes, PySequence_Contains)
spami2(indexOf , PySequence_Index)
spami2(countOf , PySequence_Count)
spami(isMappingType , PyMapping_Check)