]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-13814: Explain why generators are not context managers (GH-26835)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 21 Jun 2021 21:23:29 +0000 (17:23 -0400)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 21:23:29 +0000 (17:23 -0400)
commit51f45d085dad3b708f6fe166af517aba69e7e9f7
tree7919b4b99f22ea2a207cdc5048016cfcdb2db63a
parent355f5dd36a0f53175517f35798aa874564d1113a
bpo-13814: Explain why generators are not context managers (GH-26835)

Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
Doc/faq/design.rst
Misc/NEWS.d/next/Documentation/2021-06-21-15-46-32.bpo-13814.LDcslu.rst [new file with mode: 0644]