Nick Coghlan <ncogh...@gmail.com> added the comment: On Wed, Jun 30, 2010 at 9:51 PM, Michael Foord <rep...@bugs.python.org> wrote: > I left some text in the .. versionchanged:: tag for contextmanager as I think > this is normal.
Yeah, what you did was what I meant (I just didn't say it very well) The example use in the docs should call function() rather than invoke the context manager explicitly. Otherwise looks good, so I'd say go ahead and check it in :) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9110> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com