diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-25 11:02:28 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-25 11:02:28 (GMT) |
commit | f534f7b74a4607115bf3de266a5cb13cc47977fd (patch) | |
tree | b23a9ce5494d453a0d1d8d95823e23c0e1052108 /Doc/whatsnew | |
parent | b2673840987b4553bffe3591b3efb25c960521e6 (diff) | |
download | cpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.zip cpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.tar.gz cpython-f534f7b74a4607115bf3de266a5cb13cc47977fd.tar.bz2 |
Document that basestring has been replaced by str. Issue #1931.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 3 |
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 |