Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 56526:d24298df2a66 legacy-trunk
#7116: str.join() takes an iterable.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Wed, 14 Oct 2009 18:48:32 +0000 |
| parents | f64c0eb8cc62 |
| children | 74472da09f6c |
line wrap: on
line diff
--- a/Objects/stringobject.c Wed Oct 14 18:47:13 2009 +0000 +++ b/Objects/stringobject.c Wed Oct 14 18:48:32 2009 +0000 @@ -1814,10 +1814,10 @@ 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)
