@@ -65,7 +65,6 @@ used for special class methods; variants without leading and trailing\n\
6565 if(! PyArg_UnpackTuple(a,#OP,2,2,&a1,&a2)) return NULL; \
6666 return PyObject_RichCompare(a1,a2,A); }
6767
68- spami (isCallable , PyCallable_Check )
6968spami (isNumberType , PyNumber_Check )
7069spami (truth , PyObject_IsTrue )
7170spam2 (op_add , PyNumber_Add )
@@ -102,7 +101,6 @@ spamoi(op_repeat , PySequence_Repeat)
102101spam2 (op_iconcat , PySequence_InPlaceConcat )
103102spamoi (op_irepeat , PySequence_InPlaceRepeat )
104103spami2b (op_contains , PySequence_Contains )
105- spami2b (sequenceIncludes , PySequence_Contains )
106104spamn2 (indexOf , PySequence_Index )
107105spamn2 (countOf , PySequence_Count )
108106spami (isMappingType , PyMapping_Check )
@@ -218,8 +216,6 @@ op_delslice(PyObject *s, PyObject *a)
218216
219217static struct PyMethodDef operator_methods [] = {
220218
221- spam1o (isCallable ,
222- "isCallable(a) -- Same as callable(a)." )
223219spam1o (isNumberType ,
224220 "isNumberType(a) -- Return True if a has a numeric type, False otherwise." )
225221spam1o (isSequenceType ,
@@ -228,8 +224,6 @@ spam1o(truth,
228224 "truth(a) -- Return True if a is true, False otherwise." )
229225spam2 (contains ,__contains__ ,
230226 "contains(a, b) -- Same as b in a (note reversed operands)." )
231- spam1 (sequenceIncludes ,
232- "sequenceIncludes(a, b) -- Same as b in a (note reversed operands; deprecated)." )
233227spam1 (indexOf ,
234228 "indexOf(a, b) -- Return the first index of b in a." )
235229spam1 (countOf ,
0 commit comments