diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 +0000 |
commit | 245f025ea94faed3a5df906f448a7a16bfd38a96 (patch) | |
tree | bc095175c4ae383790465d727a6a64bbf5805b3b /Python/getargs.c | |
parent | 68f5abe7ab965eae77402364c3398614f58e36e5 (diff) | |
download | cpython-245f025ea94faed3a5df906f448a7a16bfd38a96.tar.gz |
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 ba855afb19..11754ef26f 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", |