blob: d9060aa77ad288459e31b292c692f7d695b06c73 (
plain)
1
2
3
4
5
6
7
8
|
class RLock: # Python 3.6
# We shim out a context manager to be used as a compatibility layer
# if the system `threading` module doesn't have a real `RLock` available.
def __enter__(self) -> None:
pass
def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None:
pass
|