summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aioeventlet.py2
-rw-r--r--doc/using.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/aioeventlet.py b/aioeventlet.py
index 6660728..1942f69 100644
--- a/aioeventlet.py
+++ b/aioeventlet.py
@@ -315,7 +315,7 @@ def yield_future(future, loop=None):
Return the result or raise the exception of the future.
The function must not be called from the greenthread
- of the aioeventlet event loop.
+ running the aioeventlet event loop.
"""
future = asyncio.async(future, loop=loop)
if future._loop._greenthread == eventlet.getcurrent():
diff --git a/doc/using.rst b/doc/using.rst
index ac39f19..c4aea14 100644
--- a/doc/using.rst
+++ b/doc/using.rst
@@ -135,8 +135,8 @@ yield_future
Return the result or raise the exception of the future.
- The function must not be called from the greenthread of the aioeventlet event
- loop.
+ The function must not be called from the greenthread running the aioeventlet
+ event loop.
.. versionchanged:: 0.4