diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-08-25 12:11:46 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-08-25 12:11:46 -0700 |
| commit | d36a2cbd424d750a02773a7d40e44534c480e99a (patch) | |
| tree | 6804723359d9e9d9bf68badbaf7bcd525428c9dd /README.rst | |
| parent | cd71e1a5b14cef2e95876553a6ad4b0c71a1201e (diff) | |
| download | tablib-d36a2cbd424d750a02773a7d40e44534c480e99a.tar.gz | |
Write the example file reliably in the readme
The previous way doesn't work on PyPy or Jython, and emits warnings in recent python3s.
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,7 +117,8 @@ EXCEL! ++++++ :: - >>> open('people.xls', 'wb').write(data.xls) + >>> with open('people.xls', 'wb') as f: + ... f.write(data.xls) It's that easy. |
