homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author teamnoir
Recipients docs@python, teamnoir
Date 2011年02月12日.19:40:30
SpamBayes Score 4.1264686e-10
Marked as misclassified No
Message-id <1297539632.81.0.320134391105.issue11203@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for gzip should include the "close" method.
It's use in the 2.7 documentation implies it's existence but it should also be stated explicitly that it exists.
In the 3.x documentation, the use of "close" not in the examples since the examples use context manager. For 3.x documentation there should be both an explicit mention of the "close" method as well as an explicit mention that GzipFile supports the context manager protocol.
Yes, the use of the context manager in the examples implies that this is true but documentation on other modules states so explicitly so this module should too.
History
Date User Action Args
2011年02月12日 19:40:32teamnoirsetrecipients: + teamnoir, docs@python
2011年02月12日 19:40:32teamnoirsetmessageid: <1297539632.81.0.320134391105.issue11203@psf.upfronthosting.co.za>
2011年02月12日 19:40:31teamnoirlinkissue11203 messages
2011年02月12日 19:40:30teamnoircreate

AltStyle によって変換されたページ (->オリジナル) /