def create_cookie(name, value, **kwargs):
result = dict(<EOL>version=<NUM_LIT:0>,<EOL>name=name,<EOL>value=value,<EOL>port=None,<EOL>domain='<STR_LIT>',<EOL>path='<STR_LIT:/>',<EOL>secure=False,<EOL>expires=None,<EOL>discard=True,<EOL>comment=None,<EOL>comment_url=None,<EOL>rest={'<STR_LIT>': None},<EOL>rfc2109=False,)<EOL>badargs = set(kwargs) - set(result)<EOL>if badargs:<EOL><INDENT>err = '<STR_LIT>'<EOL>raise TypeError(err % list(badargs))<EOL><DEDENT>result.update(kwargs)<EOL>result['<STR_LIT>'] = bool(result['<STR_LIT:port>'])<EOL>result['<STR_LIT>'] = bool(result['<STR_LIT>'])<EOL>result['<STR_LIT>'] = result['<STR_LIT>'].startswith('<STR_LIT:.>')<EOL>result['<STR_LIT>'] = bool(result['<STR_LIT:path>'])<EOL>return cookielib.Cookie(**result)<EOL>
Make a cookie from underspecified parameters.

    By default, the pair of `name` and `value` will be set for the domain ''
    and sent on every request (this is sometimes called a "supercookie").