Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task object in asyncio docs is missing the "context" argument #104254

Closed
itamaro opened this issue May 7, 2023 · 0 comments
Closed

Task object in asyncio docs is missing the "context" argument #104254

itamaro opened this issue May 7, 2023 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@itamaro
Copy link
Contributor

itamaro commented May 7, 2023

Documentation

the signature in the docs (https://docs.python.org/3/library/asyncio-task.html#asyncio.Task) and the description doesn't cover the context argument that was added in 3.11.

Linked PRs

@itamaro itamaro added the docs Documentation in the Doc dir label May 7, 2023
gvanrossum pushed a commit that referenced this issue May 7, 2023
…ask constructor (#104251)

(This was added in 3.11. It was already documented for `create_task()`, but not for `Task()`.)
@itamaro itamaro closed this as completed May 7, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 7, 2023
…t to Task constructor (pythonGH-104251)

(This was added in 3.11. It was already documented for `create_task()`, but not for `Task()`.)
(cherry picked from commit 4ee2068)

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
kumaraditya303 pushed a commit that referenced this issue May 7, 2023
…nt to Task constructor (GH-104251) (#104258)

gh-104254: Document the optional keyword-only "context" argument to Task constructor (GH-104251)

(This was added in 3.11. It was already documented for `create_task()`, but not for `Task()`.)
(cherry picked from commit 4ee2068)

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
jbower-fb pushed a commit to jbower-fb/cpython-jbowerfb that referenced this issue May 8, 2023
…t to Task constructor (python#104251)

(This was added in 3.11. It was already documented for `create_task()`, but not for `Task()`.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant