(self, number, start, stop)
Acquire a lock on a range of records.
Acquire a lock on a range of records.
Acquire a lock on a range of records .
def acquire_record_lock(self, number, start, stop):
        """Acquire a lock on a range of records."""
        self._try_record_lock(number, start, stop, allow_self=False)
        this_file = self._locking_parameters[number]
        this_file.lock_set.add((start, stop))
def acquire_record_lock ( self , number , start , stop ) : self . _try_record_lock ( number , start , stop , allow_self = False ) this_file = self . _locking_parameters [ number ] this_file . lock_set . add ( ( start , stop ) )