mirror of https://github.com/python/cpython
asyncio: Drop debug code
This commit is contained in:
parent
03179ef3a8
commit
b26067a92f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue