commit | 1ecb5ce70762b979111ed4f0388d419f76c70867 | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Thu Jun 25 23:57:42 2015 +0300 |
committer | Berker Peksag <berker.peksag@gmail.com> | Thu Jun 25 23:57:42 2015 +0300 |
tree | ceb423c622ed8474be4408ffafbdea149a07effe | |
parent | 6750c8b803f0f6d257a6bac36d695bc5fb049bf9 [diff] |
Issue #24496: Backport gzip examples to Python 2. gzip.open() supports context management protocol in Python 2, so it's better to use it in the examples section. Patch by Jakub Kadlčík.