Skip to content

Commit 3b5029a

Browse files
committed
Fix typecheck for 3.7
1 parent 43b1113 commit 3b5029a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scdl/scdl.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ def __enter__(self):
285285

286286
def __exit__(
287287
self,
288-
exc_type: type[BaseException] | None,
289-
exc_value: BaseException | None,
290-
traceback: TracebackType | None,
288+
exc_type: Optional[type[BaseException]],
289+
exc_value: Optional[BaseException],
290+
traceback: Optional[TracebackType],
291291
) -> None:
292292
if self._using_soft_lock:
293293
self._soft_lock.release()

0 commit comments

Comments
 (0)