summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-02 16:34:27 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-02 16:34:27 (GMT)
commit07431a302a3698bec8b9eb9debc9f630479141e3 (patch)
tree68381bf1e7c9f56a739e3ec52cfc3cebda142586 /Doc
parent0c24e8b8ca92ca9af0ce88dc2eddb2ef12999722 (diff)
downloadcpython-07431a302a3698bec8b9eb9debc9f630479141e3.zip
cpython-07431a302a3698bec8b9eb9debc9f630479141e3.tar.gz
cpython-07431a302a3698bec8b9eb9debc9f630479141e3.tar.bz2
str.join() doesn't convert arguments anymore.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 6c7c5b0..c5b32cc 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -897,11 +897,10 @@ functions based on regular expressions.
.. method:: str.join(seq)
- Return a string which is the concatenation of the values in the sequence
- *seq*. Non-string values in *seq* will be converted to a string using their
- respective ``str()`` value. If there are any :class:`bytes` objects in
- *seq*, a :exc:`TypeError` will be raised. The separator between elements is
- the string providing this method.
+ Return a string which is the concatenation of the strings in the sequence
+ *seq*. A :exc:`TypeError` will be raised if there are any non-string values
+ in *seq*, including :class:`bytes` objects. The separator between elements
+ is the string providing this method.
.. method:: str.ljust(width[, fillchar])