]> granicus.if.org Git - python/commitdiff
str.join() doesn't convert arguments anymore.
authorGeorg Brandl <georg@python.org>
Sat, 2 Aug 2008 16:34:27 +0000 (16:34 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 2 Aug 2008 16:34:27 +0000 (16:34 +0000)
Doc/library/stdtypes.rst

index 6c7c5b0afa6f4c3f34e533728905baf583180a2f..c5b32ccec8d27291a88964ac0a825b1ad6eee445 100644 (file)
@@ -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])