summaryrefslogtreecommitdiff
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 13:05:33 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 13:05:33 +0000
commit245f025ea94faed3a5df906f448a7a16bfd38a96 (patch)
treebc095175c4ae383790465d727a6a64bbf5805b3b /Python/getargs.c
parent68f5abe7ab965eae77402364c3398614f58e36e5 (diff)
downloadcpython-245f025ea94faed3a5df906f448a7a16bfd38a96.tar.gz
replace PyXXX_Length calls with PyXXX_Size calls
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c2
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",