mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
replace PyXXX_Length calls with PyXXX_Size calls
This commit is contained in:
parent
6253f83b0a
commit
03657cfdb0
14 changed files with 30 additions and 29 deletions
|
@ -367,7 +367,7 @@ O_writelines(Oobject *self, PyObject *args) {
|
|||
Py_DECREF(string_module);
|
||||
}
|
||||
|
||||
if (PyObject_Length(args) == -1) {
|
||||
if (PyObject_Size(args) == -1) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue