[issue13814] Document why generators don't support the context management protocol

Terry J. Reedy report at bugs.python.org
Mon Jun 21 15:54:08 EDT 2021


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I added a simplified answer after a similar question about assignment and CMs.

----------
keywords:  -easy

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


More information about the Python-bugs-list mailing list