New submission from Ezequiel Alfie:

Doc says:

coroutine BaseEventLoop.run_in_executor(executor, func, *args)
...<more lines>...
    This method is a coroutine.

However, inspecting the code, I find that this function is not a coroutine. 
Also this function returns a Future instance, this fact should be mentioned in 
the doc.

----------
components: asyncio
messages: 254939
nosy: ealfie, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: doc for BaseEventLoop.run_in_executor() says its a coroutine, but it is 
not
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25675>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to