diff options
| author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-11-02 11:19:45 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 11:19:45 (GMT) |
| commit | ff852aabf22908e7ef0325af65bab5d02c421fd8 (patch) | |
| tree | d16aa5e65f39b93ca50ea089d3c3a234d123347c /Python/strdup.c | |
| parent | 27c72ba45af9c59e84992a0f6e1169b7403fb894 (diff) | |
| download | cpython-ff852aabf22908e7ef0325af65bab5d02c421fd8.zip cpython-ff852aabf22908e7ef0325af65bab5d02c421fd8.tar.gz cpython-ff852aabf22908e7ef0325af65bab5d02c421fd8.tar.bz2 | |
bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073)
People call wait() and as_completed() with various non-set iterables,
a list should be the most common but there are others as well[1].
Considering typeshed also documents wait()[2] and as_completed()[3]
as accepting arbitrary iterables I think it's a good idea to document
the status quo better.
[1] https://github.com/aio-libs/aiokafka/pull/672
[2] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L161
[3] https://github.com/python/typeshed/blob/620989bac572f30349b95590ebe81a73ce0fe862/stdlib/3/asyncio/tasks.pyiGH-L40
(cherry picked from commit 3d86d090dcbbdfdd3e5a5951cab30612d6131222)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions
