Skip to content

Commit

Permalink
fix(async-io): return coro when __name__ is not present (#2541)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored May 23, 2024
1 parent da75015 commit 66a107f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def trace_item(self, coro_or_future):

async def trace_coroutine(self, coro):
if not hasattr(coro, "__name__"):
return
return coro
start = default_timer()
attr = {
"type": "coroutine",
Expand Down

0 comments on commit 66a107f

Please sign in to comment.