mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Merge ssize_t branch.
This commit is contained in:
parent
4482929734
commit
18e165558b
102 changed files with 2659 additions and 1677 deletions
|
@ -241,7 +241,7 @@ PyDoc_STRVAR(reversed_doc,
|
|||
static PyObject *
|
||||
reversed_len(reversedobject *ro)
|
||||
{
|
||||
int position, seqsize;
|
||||
Py_ssize_t position, seqsize;
|
||||
|
||||
if (ro->seq == NULL)
|
||||
return PyInt_FromLong(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue