bpo-36999: Add asyncio.Task.get_coro() (GH-13680)



https://bugs.python.org/issue36999
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index d94fa58..1fcdcb9 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -842,6 +842,12 @@
       The *file* argument is an I/O stream to which the output
       is written; by default output is written to :data:`sys.stderr`.
 
+   .. method:: get_coro()
+
+      Return the coroutine object wrapped by the :class:`Task`.
+
+      .. versionadded:: 3.8
+
    .. method:: get_name()
 
       Return the name of the Task.