Show More
@@ -1029,12 +1029,14 b' static PyObject *index_stats(indexObject' | |||||
1029 | return NULL; |
|
1029 | return NULL; | |
1030 |
|
1030 | |||
1031 | #define istat(__n, __d) \ |
|
1031 | #define istat(__n, __d) \ | |
1032 | t = PyInt_FromSsize_t(self->__n); \ |
|
1032 | do { \ | |
1033 | if (!t) \ |
|
1033 | t = PyInt_FromSsize_t(self->__n); \ | |
1034 | goto bail; \ |
|
1034 | if (!t) \ | |
1035 | if (PyDict_SetItemString(obj, __d, t) == -1) \ |
|
1035 | goto bail; \ | |
1036 | goto bail; \ |
|
1036 | if (PyDict_SetItemString(obj, __d, t) == -1) \ | |
1037 | Py_DECREF(t); |
|
1037 | goto bail; \ | |
|
1038 | Py_DECREF(t); \ | |||
|
1039 | } while (0) | |||
1038 |
|
1040 | |||
1039 | if (self->added) { |
|
1041 | if (self->added) { | |
1040 | Py_ssize_t len = PyList_GET_SIZE(self->added); |
|
1042 | Py_ssize_t len = PyList_GET_SIZE(self->added); |
General Comments 0
You need to be logged in to leave comments.
Login now