parameters: (self, user)
docstring: 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`.
docstring_summary: Freeze the variable state for a user.
docstring_tokens: Freeze the variable state for a user .
function: 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!")
function_tokens: 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!" )