Merge heads 3.6

This commit is contained in:
Yury Selivanov 2016-09-15 13:37:16 -04:00
commit 097a49e3e9
1 changed files with 1 additions and 4 deletions

View File

@ -276,10 +276,7 @@ def _format_coroutine(coro):
try:
coro_code = coro.gi_code
except AttributeError:
try:
coro_code = coro.cr_code
except AttributeError:
return repr(coro)
coro_code = coro.cr_code
try:
coro_frame = coro.gi_frame