mirror of https://github.com/python/cpython
asyncio doc: don't document Task.cancel(), already documented in Future.cancel()
This commit is contained in:
parent
742520be43
commit
0839ed4730
|
@ -281,10 +281,6 @@ 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)
|
||||
|
||||
Return the list of stack frames for this task's coroutine.
|
||||
|
|
Loading…
Reference in New Issue