mirror of
https://github.com/python/cpython.git
synced 2025-09-15 21:26:04 +00:00
#7116: str.join() takes an iterable.
This commit is contained in:
parent
bb86314d22
commit
9b4e5820cb
3 changed files with 8 additions and 7 deletions
|
@ -7154,10 +7154,10 @@ unicode_isnumeric(PyUnicodeObject *self)
|
|||
}
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue