0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Objects
Barry Warsaw f90eddef5d PySequence_Index(): set exception when object is not found in
sequence, otherwise

operator.indexOf([4, 3, 2, 1], 9) would raise a SystemError!

Note: it might be wise to double check all these functions.  I haven't
done that yet.
1996-12-18 19:32:18 +00:00
..
abstract.c PySequence_Index(): set exception when object is not found in 1996-12-18 19:32:18 +00:00
accessobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
classobject.c Yet more elaborate message for exception in __del__. 1996-12-05 21:52:32 +00:00
cobject.c Better implementation of PyCObject_AsVoidPtr(). 1996-12-05 21:53:15 +00:00
complexobject.c Make gcc -Wall happy 1996-12-05 21:58:58 +00:00
dictobject.c Experimental new implementation of dictionary comparison. This 1996-12-05 21:55:55 +00:00
fileobject.c Make gcc -Wall happy. 1996-12-05 21:54:17 +00:00
floatobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
frameobject.c Make gcc -Wall happy 1996-12-05 21:58:58 +00:00
funcobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
intobject.c Fix core dump from pow(x,y,0). 1996-12-06 20:14:43 +00:00
listobject.c Change comment about MINSIZE -- 10 is optimal for Python. 1996-12-16 03:32:39 +00:00
longobject.c Fix newlongobject so it will work for 64-bit as well as 32-bit hardware 1996-12-05 21:57:21 +00:00
Makefile.in Added sliceobject.c 1996-07-30 16:45:48 +00:00
mappingobject.c Experimental new implementation of dictionary comparison. This 1996-12-05 21:55:55 +00:00
methodobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
moduleobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
object.c Make gcc -Wall happy 1996-12-05 21:58:58 +00:00
rangeobject.c Make gcc -Wall happy 1996-12-05 21:58:58 +00:00
sliceobject.c Ellipses -> Ellipsis rename (the dictionary really says that it should 1996-10-11 16:25:41 +00:00
stringobject.c Add const to error and newstring functions 1996-12-10 15:33:34 +00:00
tupleobject.c Better tuple hash function. 1996-12-16 17:55:46 +00:00
typeobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
xxobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00