(self, domain=None, path=None)
return dictionary
Takes as an argument an optional domain and path and returns a plain
        old Python dict of name-value pairs of cookies that meet the
        requirements.

        :rtype: dict
Takes as an argument an optional domain and path and returns a plain
        old Python dict of name-value pairs of cookies that meet the
        requirements.
Takes as an argument an optional domain and path and returns a plain old Python dict of name - value pairs of cookies that meet the requirements .
def get_dict(self, domain=None, path=None):
        """Takes as an argument an optional domain and path and returns a plain
        old Python dict of name-value pairs of cookies that meet the
        requirements.

        :rtype: dict
        """
        dictionary = {}
        for cookie in iter(self):
            if (
                (domain is None or cookie.domain == domain) and
                (path is None or cookie.path == path)
            ):
                dictionary[cookie.name] = cookie.value
        return dictionary
def get_dict ( self , domain = None , path = None ) : dictionary = { } for cookie in iter ( self ) : if ( ( domain is None or cookie . domain == domain ) and ( path is None or cookie . path == path ) ) : dictionary [ cookie . name ] = cookie . value return dictionary