diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-02-21 02:42:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 02:42:24 (GMT) |
commit | 089a21f7429a3fd3cf78e3779df724757d346d19 (patch) | |
tree | ce584ce7784a7705656b8687bbf56b580465c052 /Misc | |
parent | 9a12c213c6f26876c9e00a8cebef3bc9030b6b99 (diff) | |
download | cpython-089a21f7429a3fd3cf78e3779df724757d346d19.zip cpython-089a21f7429a3fd3cf78e3779df724757d346d19.tar.gz cpython-089a21f7429a3fd3cf78e3779df724757d346d19.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.
(cherry picked from commit 2f9ef514fb24b6a95bd3272885f197752810c107)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-02-20-00-09-13.bpo-27646.HRsmo-.rst | 2 |
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. |