summaryrefslogtreecommitdiff
path: root/src/urllib3/compat/rlock.py
blob: 4ed4d22a93a8ac89fa7d88ce6ed9e1ecc7b23033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""
In this module, 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.
"""


class RLock:
    def __enter__(self) -> None:
        pass

    def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None:
        pass