summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index f10b800..02d1b0d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2650,7 +2650,7 @@ PyObject *PyUnicode_Join(PyObject *separator,
int sz = 100;
int i;
- seqlen = PySequence_Length(seq);
+ seqlen = PySequence_Size(seq);
if (seqlen < 0 && PyErr_Occurred())
return NULL;