summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-02-21 02:33:25 (GMT)
committerGitHub <noreply@github.com>2021-02-21 02:33:25 (GMT)
commit2f9ef514fb24b6a95bd3272885f197752810c107 (patch)
tree77654f6401b7288f925a08bd3e557ae39e973d5b /Misc
parentbf838a6e7eec2063a17c7c33dfa94afeef116f36 (diff)
downloadcpython-2f9ef514fb24b6a95bd3272885f197752810c107.zip
cpython-2f9ef514fb24b6a95bd3272885f197752810c107.tar.gz
cpython-2f9ef514fb24b6a95bd3272885f197752810c107.tar.bz2
bpo-27646: Say that 'yield from' expression can be any iterable (GH-24595)
Previously, the doc at least strongly implied that it had to be an iterator.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst b/Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst
new file mode 100644
index 0000000..8ba398a
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst
@@ -0,0 +1,2 @@
+Clarify that 'yield from <expr>' works with any iterable, not just
+iterators.