(self)
Acquire an exclusive lock on the currently-loaded session data.
Acquire an exclusive lock on the currently-loaded session data.
Acquire an exclusive lock on the currently - loaded session data .
def acquire_lock(self):
        """Acquire an exclusive lock on the currently-loaded session data."""
        self.locked = True
        self.locks.setdefault(self.id, threading.RLock()).acquire()
def acquire_lock ( self ) : self . locked = True self . locks . setdefault ( self . id , threading . RLock ( ) ) . acquire ( )