(self, user)
Freeze the variable state for a user.

This will clone and preserve a user's entire variable state, so that it can be
restored later with `thaw_uservars`.
Freeze the variable state for a user.
Freeze the variable state for a user .
def freeze_uservars(self, user):
        """Freeze the variable state for a user.

This will clone and preserve a user's entire variable state, so that it can be
restored later with `thaw_uservars`."""

        if user in self._users:
            # Clone the user's data.
            self._freeze[user] = copy.deepcopy(self._users[user])
        else:
            self._warn("Can't freeze vars for user " + user + ": not found!")
def freeze_uservars ( self , user ) : if user in self . _users : # Clone the user's data. self . _freeze [ user ] = copy . deepcopy ( self . _users [ user ] ) else : self . _warn ( "Can't freeze vars for user " + user + ": not found!" )