Skip to content

Commit a12f9b9

Browse files
authored
Add py2.7.11 unicode fix info for array.array() to stdlib_incompatibilities.rst
1 parent ecf1121 commit a12f9b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/stdlib_incompatibilities.rst

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ You can use the following code on both Python 3 and Python 2::
5757
5858
a = array.array(bytes_to_native_str(b'b'))
5959

60+
This was `fixed in Python 2.7.11
61+
<https://hg.python.org/cpython/file/6d1b6a68f775/Misc/NEWS#l233>`_.
62+
Since then, ``array.array()`` now also accepts unicode format typecode.
6063

6164
.. _stdlib-array-read:
6265

0 commit comments

Comments
 (0)