summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-02 16:57:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-12-02 16:57:04 (GMT)
commitd87de8358285cdd793e88e037024d143c3e47563 (patch)
tree18b580c605a95151d5f13d0689edd79cbfeb981e /Lib/asyncio
parent039f703b7b6c80bb7ef35f490447529b2747560f (diff)
downloadcpython-d87de8358285cdd793e88e037024d143c3e47563.zip
cpython-d87de8358285cdd793e88e037024d143c3e47563.tar.gz
cpython-d87de8358285cdd793e88e037024d143c3e47563.tar.bz2
Closes #22475: asyncio doc, fix Task.get_stack() doc
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index e073802..a2128c5 100644
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -109,7 +109,7 @@ class Task(futures.Future):
def get_stack(self, *, limit=None):
"""Return the list of stack frames for this task's coroutine.
- If the coroutine is active, this returns the stack where it is
+ If the coroutine is not done, this returns the stack where it is
suspended. If the coroutine has completed successfully or was
cancelled, this returns an empty list. If the coroutine was
terminated by an exception, this returns the list of traceback