[Python-3000-checkins] r60279 - python/branches/py3k/Doc/whatsnew/3.0.rst
christian.heimes
python-3000-checkins at python.org
Fri Jan 25 12:02:28 CET 2008
Author: christian.heimes
Date: Fri Jan 25 12:02:28 2008
New Revision: 60279
Modified:
python/branches/py3k/Doc/whatsnew/3.0.rst
Log:
Document that basestring has been replaced by str. Issue #1931.
Modified: python/branches/py3k/Doc/whatsnew/3.0.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.0.rst (original)
+++ python/branches/py3k/Doc/whatsnew/3.0.rst Fri Jan 25 12:02:28 2008
@@ -154,6 +154,9 @@
* There is only one string type; its name is ``str`` but its behavior
and implementation are more like ``unicode`` in 2.x.
+* The ``basestring`` superclass has been removed. The ``2to3`` tool
+ replaces every occurence of ``basestring`` with ``str``.
+
* PEP 3137: There is a new type, ``bytes``, to represent binary data
(and encoded text, which is treated as binary data until you decide
to decode it). The ``str`` and ``bytes`` types cannot be mixed; you
More information about the Python-3000-checkins
mailing list