summaryrefslogtreecommitdiffstats
path: root/Modules/stropmodule.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 13:05:33 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-12 13:05:33 (GMT)
commit03657cfdb056dbd36db12cc3db12a6b58a962e20 (patch)
tree18dc8d472d1eba419c8d2a31847de5607f805a66 /Modules/stropmodule.c
parent6253f83b0a2d261024cd5ef84d2e36fe4f4f1f3d (diff)
downloadcpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.zip
cpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.tar.gz
cpython-03657cfdb056dbd36db12cc3db12a6b58a962e20.tar.bz2
replace PyXXX_Length calls with PyXXX_Size calls
Diffstat (limited to 'Modules/stropmodule.c')
-rw-r--r--Modules/stropmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c
index 35674de..612d0d3 100644
--- a/Modules/stropmodule.c
+++ b/Modules/stropmodule.c
@@ -190,7 +190,7 @@ strop_joinfields(PyObject *self, PyObject *args)
seplen = 1;
}
- seqlen = PySequence_Length(seq);
+ seqlen = PySequence_Size(seq);
if (seqlen < 0 && PyErr_Occurred())
return NULL;