Skip to content

Commit

Permalink
A bit more explicit about file open mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jdunck committed Sep 21, 2015
1 parent 1e2736c commit 39a26b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Expand Up @@ -23,6 +23,7 @@ You can work around it by encoding everything just before calling write (or just
>>> print row[0], row[1]
é ñ

Note that unicodecsv expects a bytestream, not unicode -- so there's no need to use `codecs.open` or similar wrappers. Plain `open` will do.
Note that unicodecsv expects a bytestream, not unicode -- so there's no need to use `codecs.open` or similar wrappers. Plain `open(..., 'rb')` will do.

(Version 0.13.0 is the last version to support python 2.6. See c0b7655248c4249 for the breaking change.)

0 comments on commit 39a26b2

Please sign in to comment.