Skip to content

Commit de53e56

Browse files
authored
Merge pull request #252 from cas--/cas--array-unicode-1
Update stdlib_incompatibilities.rst to note that array.array() now accepts unicode in py2.7.11
2 parents a254f06 + a12f9b9 commit de53e56

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)