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

Vidhya report at bugs.python.org
Mon Feb 28 20:54:54 EST 2022


Vidhya <vidhya.friend at gmail.com> added the comment:

[Entry level contributor seeking guidance] If this is still open, I can update the document.

After reading all the above comments, planning to add 

"The __enter__ method returns the ExitStack instance, and performs no additional operations." 

at

https://docs.python.org/3/library/contextlib.html#contextlib.ExitStack.enter_context. 

Please let me know your thoughts.

----------
nosy: +vidhya

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


More information about the Python-bugs-list mailing list