Add removal of basestring.
This commit is contained in:
parent
e2904eebe8
commit
71ead7f575
|
@ -282,6 +282,13 @@ e.g. to UTF-8, or even make it impossible to access the data as a
|
||||||
contiguous array of bytes at all. Therefore, the PEP 3118 buffer API
|
contiguous array of bytes at all. Therefore, the PEP 3118 buffer API
|
||||||
will be removed from the str type.
|
will be removed from the str type.
|
||||||
|
|
||||||
|
The ``basestring`` Type
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
The ``basestring`` type will be removed from the language. Code that
|
||||||
|
used to say ``isinstance(x, basestring)`` should be changed to use
|
||||||
|
``isinstance(x, str)`` instead.
|
||||||
|
|
||||||
Pickling
|
Pickling
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue