mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
This commit is contained in:
parent
1a3284ed69
commit
217cfd1c86
123 changed files with 888 additions and 885 deletions
|
@ -801,7 +801,7 @@ setiter_len(setiterobject *si)
|
|||
Py_ssize_t len = 0;
|
||||
if (si->si_set != NULL && si->si_used == si->si_set->used)
|
||||
len = si->len;
|
||||
return PyInt_FromLong(len);
|
||||
return PyLong_FromLong(len);
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of len(list(it)).");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue