8000 gh-102810 Improve the sphinx docs for `asyncio.Timeout` by JosephSBoyle · Pull Request #102934 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102810 Improve the sphinx docs for asyncio.Timeout #102934

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
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trim asyncio.Timeout docs
  • Loading branch information
JosephSBoyle committed Mar 22, 2023
commit fbb869d43684eec3806ab1bda6e3b32d661914e9
3 changes: 1 addition & 2 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,7 @@ Timeouts

The ``when`` parameter specifies at what time the context should
time out. It's value should be either a float relative to the
current :meth:`loop.time` or ``None``, if the context should never
expire.
current :meth:`loop.time` or ``None``.

If ``when`` is ``None``, the timeout will never trigger.
If ``when < loop.time()``, the timeout will trigger on the next
Expand Down
0