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.
Showing
Please
register
or
sign in
to comment
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.