File: | src/BTrees/SetTemplate.c |
Function: | Set_insert |
Error: | returning (PyObject*)NULL without setting an exception |
17 static PyObject *
18 Set_insert(Bucket *self, PyObject *args)
19 {
20 PyObject *key;
21 int i;
22
23 UNLESS (PyArg_ParseTuple(args, "O", &key)) return NULL;
when PyArg_ParseTuple() succeeds
taking False path
24 if ( (i=_bucket_set(self, key, Py_None, 1, 1, 0)) < 0) return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
25 return PyInt_FromLong(i);
26 }
returning (PyObject*)NULL without setting an exception