summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-25 11:02:28 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-25 11:02:28 (GMT)
commitf534f7b74a4607115bf3de266a5cb13cc47977fd (patch)
treeb23a9ce5494d453a0d1d8d95823e23c0e1052108
parentb2673840987b4553bffe3591b3efb25c960521e6 (diff)
downloadcpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.zip
cpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.tar.gz
cpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.tar.bz2
Document that basestring has been replaced by str. Issue #1931.
-rw-r--r--Doc/whatsnew/3.0.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst
index d24416f..49883b4 100644
--- a/Doc/whatsnew/3.0.rst
+++ b/Doc/whatsnew/3.0.rst
@@ -154,6 +154,9 @@ Strings and Bytes
* 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