Commit 19bc2d49 authored by Victor Stinner's avatar Victor Stinner

asyncio doc: don't document Task.cancel(), already documented in Future.cancel()

parent 52a61f58
...@@ -281,10 +281,6 @@ Task ...@@ -281,10 +281,6 @@ Task
``None`` is returned when called not in the context of a :class:`Task`. ``None`` is returned when called not in the context of a :class:`Task`.
.. method:: cancel()
Cancel the task.
.. method:: get_stack(self, \*, limit=None) .. method:: get_stack(self, \*, limit=None)
Return the list of stack frames for this task's coroutine. Return the list of stack frames for this task's coroutine.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment