[docs] [issue28516] contextlib.ExitStack.__enter__ has trivial but undocumented behavior

Martin Panter report at bugs.python.org
Tue Oct 25 18:48:56 EDT 2016


Martin Panter added the comment:

I agree it is good to explicitly document the __enter__() result, rather than relying on assumptions and example code. The patch looks good to me.

I don’t understand the problem with pop_all() though. Is there still a problem if we apply your patch?

----------
nosy: +martin.panter
stage:  -> patch review
versions:  -Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28516>
_______________________________________


More information about the docs mailing list