[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Gefn
Gefn added the comment: I think it's much clearer -- ___ Python tracker <https://bugs.python.org/issue34802> ___ ___ Python-bugs-list mailing list Unsubscr

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-25 Thread Gefn
New submission from Gefn : The documentation states that "This method is different from inspect.iscoroutine() because it returns True for generator-based coroutines decorated with @coroutine." It seems to be wrong, a method written as follow: def test(): yield 1 will be eval