July 29, 2015
5:30 p.m.
Stefan Behnel added the comment: Note that the expected usage is not as a function but as a decorator. That should be stated in the docs as well. IMHO, users should only do two things with whatever the result is: either use it as a Generator (as before), or pass it as an argument to "await". Everything else is best considered implementation details. Well, except for the case of passing a coroutine, which will obviously just be passed through (and that answers the original question). ---------- nosy: +scoder _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24692> _______________________________________