def release(self):
        if self.__owner is not current_thread():
            raise RuntimeError("cannot release un-aquired lock")
        self.__count = count = 1 - self.__count
        if not count:
            self.__owner = None
            self.__block.release()
            if __debug__:
                self._note("%s.release(): final release", self)
        else:
            if __debug__:
                self._note("%s.release(): non-final release", self)
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/threading.py/_RLock.release/swapped operands of `-`