#7116: str.join() takes an iterable.

This commit is contained in:
Georg Brandl 2009-10-14 18:48:32 +00:00
parent bb86314d22
commit 9b4e5820cb
3 changed files with 8 additions and 7 deletions

View file

@ -1814,10 +1814,10 @@ onError:
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)