mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
str.join() doesn't convert arguments anymore.
This commit is contained in:
parent
0c24e8b8ca
commit
07431a302a
1 changed files with 4 additions and 5 deletions
|
@ -897,11 +897,10 @@ functions based on regular expressions.
|
||||||
|
|
||||||
.. method:: str.join(seq)
|
.. method:: str.join(seq)
|
||||||
|
|
||||||
Return a string which is the concatenation of the values in the sequence
|
Return a string which is the concatenation of the strings in the sequence
|
||||||
*seq*. Non-string values in *seq* will be converted to a string using their
|
*seq*. A :exc:`TypeError` will be raised if there are any non-string values
|
||||||
respective ``str()`` value. If there are any :class:`bytes` objects in
|
in *seq*, including :class:`bytes` objects. The separator between elements
|
||||||
*seq*, a :exc:`TypeError` will be raised. The separator between elements is
|
is the string providing this method.
|
||||||
the string providing this method.
|
|
||||||
|
|
||||||
|
|
||||||
.. method:: str.ljust(width[, fillchar])
|
.. method:: str.ljust(width[, fillchar])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue