diff options
Diffstat (limited to 'Modules/stropmodule.c')
-rw-r--r-- | Modules/stropmodule.c | 2 |
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; |