Show More
@@ -508,13 +508,13 b' static PyObject *index_stats(indexObject' | |||
|
508 | 508 | return NULL; |
|
509 | 509 | |
|
510 | 510 | #define istat(__n, __d) \ |
|
511 |
if (PyDict_SetItemString(obj, __d, PyInt_From |
|
|
511 | if (PyDict_SetItemString(obj, __d, PyInt_FromSsize_t(self->__n)) == -1) \ | |
|
512 | 512 | goto bail; |
|
513 | 513 | |
|
514 | 514 | if (self->added) { |
|
515 | 515 | Py_ssize_t len = PyList_GET_SIZE(self->added); |
|
516 | 516 | if (PyDict_SetItemString(obj, "index entries added", |
|
517 |
PyInt_From |
|
|
517 | PyInt_FromSsize_t(len)) == -1) | |
|
518 | 518 | goto bail; |
|
519 | 519 | } |
|
520 | 520 |
General Comments 0
You need to be logged in to leave comments.
Login now