Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
Next Next commit
gh-97696 Add documentation for get_coro() behavior with eager tasks
  • Loading branch information
jbower-fb committed May 8, 2023
commit dfbd9d8a095c9b3af6daad09057aee940f082c20
5 changes: 5 additions & 0 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,11 @@ Task Object

Return the coroutine object wrapped by the :class:`Task`.

.. note::

This will return ``None`` for Tasks which have already
completed eagerly.

.. versionadded:: 3.8

.. method:: get_context()
Expand Down