Skip to content

Commit fc2edc7

Browse files
committed
pre-commit
1 parent 0d94cb5 commit fc2edc7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/trio/_threads.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import queue as stdlib_queue
77
import threading
88
from itertools import count
9-
from typing import TYPE_CHECKING, Generic, TypeVar, Protocol, Final, NoReturn
9+
from typing import TYPE_CHECKING, Final, Generic, NoReturn, Protocol, TypeVar
1010

1111
import attrs
1212
import outcome
@@ -399,7 +399,6 @@ def do_release_then_return_result() -> RetT:
399399
try:
400400
return result.unwrap()
401401
finally:
402-
del result
403402
limiter.release_on_behalf_of(placeholder)
404403

405404
result = outcome.capture(do_release_then_return_result)

0 commit comments

Comments
 (0)