mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -1127,7 +1127,7 @@ _compile(PyObject* self_, PyObject* args)
|
|||
if (!code)
|
||||
return NULL;
|
||||
|
||||
n = PySequence_Length(code);
|
||||
n = PySequence_Size(code);
|
||||
|
||||
self = PyObject_NEW_VAR(PatternObject, &Pattern_Type, 100*n);
|
||||
if (!self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue