[Python-3000-checkins] r65412 - python/branches/py3k/Doc/library/stdtypes.rst

georg.brandl python-3000-checkins at python.org
Sat Aug 2 18:34:27 CEST 2008


Author: georg.brandl
Date: Sat Aug  2 18:34:27 2008
New Revision: 65412

Log:
str.join() doesn't convert arguments anymore.


Modified:
   python/branches/py3k/Doc/library/stdtypes.rst

Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Sat Aug  2 18:34:27 2008
@@ -897,11 +897,10 @@
 
 .. 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])


More information about the Python-3000-checkins mailing list