parameters: (self, name, value, **kwargs)
return_statement: return c
docstring: Dict-like set() that also supports optional domain and path args in
          order to resolve naming collisions from using one cookie jar over
          multiple domains.
docstring_summary: Dict-like set() that also supports optional domain and path args in
          order to resolve naming collisions from using one cookie jar over
          multiple domains.
docstring_tokens: Dict - like set () that also supports optional domain and path args in order to resolve naming collisions from using one cookie jar over multiple domains .
function: def set(self, name, value, **kwargs):
          """Dict-like set() that also supports optional domain and path args in
          order to resolve naming collisions from using one cookie jar over
          multiple domains.
          """
          # support client code that unsets cookies by assignment of a None value:
          if value is None:
              remove_cookie_by_name(self, name, domain=kwargs.get('domain'), path=kwargs.get('path'))
              return
  
          if isinstance(value, Morsel):
              c = morsel_to_cookie(value)
          else:
              c = create_cookie(name, value, **kwargs)
          self.set_cookie(c)
          return c
function_tokens: def set ( self , name , value , * * kwargs ) : # support client code that unsets cookies by assignment of a None value: if value is None : remove_cookie_by_name ( self , name , domain = kwargs . get ( 'domain' ) , path = kwargs . get ( 'path' ) ) return if isinstance ( value , Morsel ) : c = morsel_to_cookie ( value ) else : c = create_cookie ( name , value , * * kwargs ) self . set_cookie ( c ) return c