File: | src/BTrees/TreeSetTemplate.c |
Function: | TreeSet_update |
Error: | returning (PyObject*)NULL without setting an exception |
68 static PyObject *
69 TreeSet_update(BTree *self, PyObject *args)
70 {
71 PyObject *seq = NULL;
72 int n = 0;
73
74 if (!PyArg_ParseTuple(args, "|O:update", &seq))
when PyArg_ParseTuple() succeeds
taking False path
75 return NULL;
76
77 if (seq) {
taking True path
78 n = _TreeSet_update(self, seq);
79 if (n < 0)
when considering range: -0x80000000 <= value <= -1
taking True path
80 return NULL;
81 }
82
83 return PyInt_FromLong(n);
84 }
returning (PyObject*)NULL without setting an exception