original_docstring: Creates a cookie to set the user information for the requestor.
  
    Args:
      email: The email to set for the user.
      admin: True if the user should be admin; False otherwise.
      cookie_name: The name of the cookie that stores the user info.
  
    Returns:
      Set-Cookie value for setting the user info of the requestor.
    
docstring: Creates a cookie to set the user information for the requestor.
docstring_tokens: Creates a cookie to set the user information for the requestor .
code: def _set_user_info_cookie(email, admin, cookie_name=_COOKIE_NAME):
    """Creates a cookie to set the user information for the requestor.
  
    Args:
      email: The email to set for the user.
      admin: True if the user should be admin; False otherwise.
      cookie_name: The name of the cookie that stores the user info.
  
    Returns:
      Set-Cookie value for setting the user info of the requestor.
    """
    cookie_value = _create_cookie_data(email, admin)
    cookie = Cookie.SimpleCookie()
    cookie[cookie_name] = cookie_value
    cookie[cookie_name]['path'] = '/'
    return cookie[cookie_name].OutputString()
code_tokens: def _set_user_info_cookie ( email , admin , cookie_name = _COOKIE_NAME ) : cookie_value = _create_cookie_data ( email , admin ) cookie = Cookie . SimpleCookie ( ) cookie [ cookie_name ] = cookie_value cookie [ cookie_name ] [ 'path' ] = '/' return cookie [ cookie_name ] . OutputString ( )
short_docstring: Creates a cookie to set the user information for the requestor.
short_docstring_tokens: Creates a cookie to set the user information for the requestor .
comment: """Creates a cookie to set the user information for the requestor.
  
    Args:
      email: The email to set for the user.
      admin: True if the user should be admin; False otherwise.
      cookie_name: The name of the cookie that stores the user info.
  
    Returns:
      Set-Cookie value for setting the user info of the requestor.
    """