Skip to content

Commit 18dbff2

Browse files
committed
Fix ruff
1 parent f16085f commit 18dbff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/statement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def transform_try_finally_stmt_async(
756756
# Exception case - need to catch to clear the error indicator
757757
builder.activate_block(err_handler)
758758
# Catch the error to clear Python's error indicator
759-
old_exc = builder.call_c(error_catch_op, [], line)
759+
builder.call_c(error_catch_op, [], line)
760760
# We're not going to use old_exc since it won't survive await
761761
# The exception is now in sys.exc_info()
762762
builder.goto(finally_entry)

0 commit comments

Comments
 (0)