diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 (GMT) |
commit | 03657cfdb056dbd36db12cc3db12a6b58a962e20 (patch) | |
tree | 18dc8d472d1eba419c8d2a31847de5607f805a66 /Python/getargs.c | |
parent | 6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d (diff) | |
download | cpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.zip cpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.tar.gz cpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.tar.bz2 |
replace PyXXX_Length calls with PyXXX_Size calls
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index ba855af..11754ef 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -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", |