]> granicus.if.org Git - python/commitdiff
asyncio doc: don't document Task.cancel(), already documented in Future.cancel()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Dec 2013 11:18:15 +0000 (12:18 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Dec 2013 11:18:15 +0000 (12:18 +0100)
Doc/library/asyncio-task.rst

index 9581188e0e5b16e56945ea5e242f969565c6a655..597e42e333078c6c0a67d64c22758fd74c3c7912 100644 (file)
@@ -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.