Skip to content

Commit

Permalink
Avoid referencing class being defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Dec 19, 2023
1 parent c325944 commit bf7169e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalene/replacement_sem_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def __enter__(self) -> bool:
def __exit__(self, *args: Any) -> None:
super().__exit__(*args)

def __reduce__(self) -> Tuple[Callable[[], ReplacementSemLock], Tuple[()]]:
def __reduce__(self) -> Tuple[Callable[[], Any], Tuple[()]]:
return (ReplacementSemLock, ())

0 comments on commit bf7169e

Please sign in to comment.