Skip to content

Commit

Permalink
Merge pull request #252 from cas--/cas--array-unicode-1
Browse files Browse the repository at this point in the history
Update stdlib_incompatibilities.rst to note that array.array() now accepts unicode in py2.7.11
  • Loading branch information
edschofield committed May 6, 2017
2 parents a254f06 + a12f9b9 commit de53e56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/stdlib_incompatibilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ You can use the following code on both Python 3 and Python 2::
a = array.array(bytes_to_native_str(b'b'))

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

.. _stdlib-array-read:

Expand Down

0 comments on commit de53e56

Please sign in to comment.