-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel() #95253
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
708cb27
gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel()
ambv 0203e01
Reword `uncancel()` example, move cancellation methods down in docs
ambv 4a6a2fe
Apply suggestions from Guido's code review
ambv ad49eb0
Re-fix typo from ce195cbd98b48370326d9e1bc5ff74e828571850
ambv 4c56381
Move example to tests and expand on why it's doing what it's doing
ambv 13515f3
Use a semicolon in comment to make text flow more obvious
ambv f0a215d
Expand the example test by showing cancelling() is 0
ambv f3bcc6f
Rewording nit
gvanrossum 26cf287
attempt to -> call
gvanrossum 9296af0
Be precise about cancelling()
gvanrossum 4114a79
Merge branch 'main' into document-asyncio-task-uncancel
gvanrossum 50850de
Merge branch 'main' into document-asyncio-task-uncancel
gvanrossum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Rewording nit
- Loading branch information
commit f3bcc6f91a57c6979284e3c92baa696273276f2f
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.