parameters: (cookie_dict, cookiejar=None, overwrite=True)
return_statement: return cookiejar
docstring: Returns a CookieJar from a key/value dictionary.
  
      :param cookie_dict: Dict of key/values to insert into CookieJar.
      :param cookiejar: (optional) A cookiejar to add the cookies to.
      :param overwrite: (optional) If False, will not replace cookies
          already in the jar with new ones.
      :rtype: CookieJar
docstring_summary: Returns a CookieJar from a key/value dictionary.
docstring_tokens: Returns a CookieJar from a key / value dictionary .
function: def cookiejar_from_dict(cookie_dict, cookiejar=None, overwrite=True):
      """Returns a CookieJar from a key/value dictionary.
  
      :param cookie_dict: Dict of key/values to insert into CookieJar.
      :param cookiejar: (optional) A cookiejar to add the cookies to.
      :param overwrite: (optional) If False, will not replace cookies
          already in the jar with new ones.
      :rtype: CookieJar
      """
      if cookiejar is None:
          cookiejar = RequestsCookieJar()
  
      if cookie_dict is not None:
          names_from_jar = [cookie.name for cookie in cookiejar]
          for name in cookie_dict:
              if overwrite or (name not in names_from_jar):
                  cookiejar.set_cookie(create_cookie(name, cookie_dict[name]))
  
      return cookiejar
function_tokens: def cookiejar_from_dict ( cookie_dict , cookiejar = None , overwrite = True ) : if cookiejar is None : cookiejar = RequestsCookieJar ( ) if cookie_dict is not None : names_from_jar = [ cookie . name for cookie in cookiejar ] for name in cookie_dict : if overwrite or ( name not in names_from_jar ) : cookiejar . set_cookie ( create_cookie ( name , cookie_dict [ name ] ) ) return cookiejar