parameters: (cookiejar, name, domain=None, path=None)
docstring: Unsets a cookie by name, by default over all domains and paths.
  
      Wraps CookieJar.clear(), is O(n).
docstring_summary: Unsets a cookie by name, by default over all domains and paths.
docstring_tokens: Unsets a cookie by name by default over all domains and paths .
function: def remove_cookie_by_name(cookiejar, name, domain=None, path=None):
      """Unsets a cookie by name, by default over all domains and paths.
  
      Wraps CookieJar.clear(), is O(n).
      """
      clearables = []
      for cookie in cookiejar:
          if cookie.name == name:
              if domain is None or domain == cookie.domain:
                  if path is None or path == cookie.path:
                      clearables.append((cookie.domain, cookie.path, cookie.name))
  
      for domain, path, name in clearables:
          cookiejar.clear(domain, path, name)
function_tokens: def remove_cookie_by_name ( cookiejar , name , domain = None , path = None ) : clearables = [ ] for cookie in cookiejar : if cookie . name == name : if domain is None or domain == cookie . domain : if path is None or path == cookie . path : clearables . append ( ( cookie . domain , cookie . path , cookie . name ) ) for domain , path , name in clearables : cookiejar . clear ( domain , path , name )