API Reference / Classes / threading / RLock RLock Standard library class threading.RLock View source class RLock @tuple class RLock Fields 1 p cobj Constructors 1 __new__ __new__() Defined in threading Methods 2 acquire acquire(self, block: bool = True, timeout: float = -1.0) Defined in threading release release(self) Defined in threading Special methods 2 __enter__ __enter__(self) Defined in threading __exit__ __exit__(self) Defined in threading
class RLock @tuple class RLock Fields 1 p cobj Constructors 1 __new__ __new__() Defined in threading Methods 2 acquire acquire(self, block: bool = True, timeout: float = -1.0) Defined in threading release release(self) Defined in threading Special methods 2 __enter__ __enter__(self) Defined in threading __exit__ __exit__(self) Defined in threading