[Python-checkins] cpython: asyncio doc: don't document Task.cancel(), already documented in Future.cancel()

victor.stinner python-checkins at python.org
Tue Dec 10 12:22:08 CET 2013


http://hg.python.org/cpython/rev/8da1729fd602
changeset:   87878:8da1729fd602
parent:      87876:3f2d4bb34fd6
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Dec 10 12:18:15 2013 +0100
summary:
  asyncio doc: don't document Task.cancel(), already documented in Future.cancel()

files:
  Doc/library/asyncio-task.rst |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -281,10 +281,6 @@
 
       ``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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list