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 r.david.murray
Recipients docs@python, martin.panter, r.david.murray, walker.hale.iv
Date 2016-10-26.00:15:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477440932.09.0.569235921712.issue28516@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, the __enter__ method is looked up on the class, so saying "the __enter__ method of the instance" could be a bit confusing.  Also, many context managers return self, so 'trivially' isn't really necessary as a modifier.

What if we added a sentence to the first paragraph that said "ExitStack instances return themselves when used in a with statement."  Since that is immediately followed by an example of doing that, it seems like the best place to put it.
History
Date User Action Args
2016-10-26 00:15:32r.david.murraysetrecipients: + r.david.murray, docs@python, martin.panter, walker.hale.iv
2016-10-26 00:15:32r.david.murraysetmessageid: <1477440932.09.0.569235921712.issue28516@psf.upfronthosting.co.za>
2016-10-26 00:15:31r.david.murraylinkissue28516 messages
2016-10-26 00:15:31r.david.murraycreate