Skip to content

Commit

Permalink
Fix typecheck for 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Nov 2, 2024
1 parent 43b1113 commit 3b5029a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scdl/scdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ def __enter__(self):

def __exit__(
self,
exc_type: type[BaseException] | None,
exc_value: BaseException | None,
traceback: TracebackType | None,
exc_type: Optional[type[BaseException]],
exc_value: Optional[BaseException],
traceback: Optional[TracebackType],
) -> None:
if self._using_soft_lock:
self._soft_lock.release()
Expand Down

0 comments on commit 3b5029a

Please sign in to comment.