Skip to content

Commit 46f1f61

Browse files
committed
remove unnecessary check
1 parent a694af2 commit 46f1f61

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎Lib/asyncio/graph.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ def capture_call_graph(
180180
finally:
181181
del f
182182

183-
if call_stack:
184-
call_stack = call_stack[max(0, operator.index(depth)):]
183+
call_stack = call_stack[max(0, operator.index(depth)):]
185184

186185
awaited_by = []
187186
if future._asyncio_awaited_by:

0 commit comments

Comments
 (0)