diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2021-06-21 21:23:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 21:23:29 (GMT) |
commit | 51f45d085dad3b708f6fe166af517aba69e7e9f7 (patch) | |
tree | 7919b4b99f22ea2a207cdc5048016cfcdb2db63a /Misc | |
parent | 355f5dd36a0f53175517f35798aa874564d1113a (diff) | |
download | cpython-51f45d085dad3b708f6fe166af517aba69e7e9f7.zip cpython-51f45d085dad3b708f6fe166af517aba69e7e9f7.tar.gz cpython-51f45d085dad3b708f6fe166af517aba69e7e9f7.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-06-21-15-46-32.bpo-13814.LDcslu.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-06-21-15-46-32.bpo-13814.LDcslu.rst b/Misc/NEWS.d/next/Documentation/2021-06-21-15-46-32.bpo-13814.LDcslu.rst new file mode 100644 index 0000000..db0c6d6 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2021-06-21-15-46-32.bpo-13814.LDcslu.rst @@ -0,0 +1 @@ +In the Design FAQ, answer "Why don't generators support the with statement?" |