mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +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
|
@ -348,7 +348,7 @@ converttuple(arg, p_format, p_va, levels, msgbuf, toplevel)
|
|||
return msgbuf;
|
||||
}
|
||||
|
||||
if ((i = PySequence_Length(arg)) != n) {
|
||||
if ((i = PySequence_Size(arg)) != n) {
|
||||
levels[0] = 0;
|
||||
sprintf(msgbuf,
|
||||
toplevel ? "%d arguments, %d" : "%d-sequence, %d-sequence",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue