For 8-bit strings, this method is locale-dependent.
-.. method:: str.join(seq)
+.. method:: str.join(iterable)
- Return a string which is the concatenation of the strings in the sequence *seq*.
- The separator between elements is the string providing this method.
+ Return a string which is the concatenation of the strings in the
+ :term:`iterable` *iterable*. The separator between elements is the string
+ providing this method.
.. method:: str.ljust(width[, fillchar])
PyDoc_STRVAR(join__doc__,
-"S.join(sequence) -> string\n\
+"S.join(iterable) -> string\n\
\n\
Return a string which is the concatenation of the strings in the\n\
-sequence. The separator between elements is S.");
+iterable. The separator between elements is S.");
static PyObject *
string_join(PyStringObject *self, PyObject *orig)
}
PyDoc_STRVAR(join__doc__,
- "S.join(sequence) -> unicode\n\
+ "S.join(iterable) -> unicode\n\
\n\
Return a string which is the concatenation of the strings in the\n\
-sequence. The separator between elements is S.");
+iterable. The separator between elements is S.");
static PyObject*
unicode_join(PyObject *self, PyObject *data)