commit | 6cc495e9e2db8de0b8b7d95323d3a1514844b1b4 | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Tue Nov 08 19:16:01 2016 -0500 |
committer | Yury Selivanov <yury@magic.io> | Tue Nov 08 19:16:01 2016 -0500 |
tree | 53ad200923868483dd72cee032bb1050d297870f | |
parent | 70b72f0f96d0a78e7cb154ae64356c82d06ac901 [diff] |
asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__ Some built-in coroutine-like objects might not have __name__ or __qualname__. A good example of such are 'asend', 'aclose' and 'athrow' coroutine methods of asynchronous generators.