<commit_before>class CookieManagerAPI(object):

    def add(self, cookies):
        raise NotImplementedError

    def delete(self, cookie=None):
        raise NotImplementedError

    def __getitem__(self, item):
        raise NotImplementedError

    def __eq__(self, other_object):
        raise NotImplementedError<commit_msg>docstrings for cookies<commit_after>class CookieManagerAPI(object):
    """
    An API that specifies how a splinter driver deals with cookies.

    You can add cookies using the :meth:``add <CookieManagerAPI.add>`` method,
    and remove one or all cookies using the :meth:``delete <CookieManagerAPI.delete>``
    method.

    A CookieManager acts like a ``dict``, so you can access the value of a cookie through the []
    operator, passing the cookie identifier:

        >>> cookie_manager.add({ 'name' : 'Tony' })
        >>> assert cookie_manager['name'] == 'Tony'
    """

    def add(self, cookies):
        """
        Adds a cookie.

        The ``cookie`` parameter is a ``dict`` where each key is an identifier for the cookie
        value (like any ``dict``).

        Example of use:

            >>> cookie.add({ 'name' : 'Tony' })
        """
        raise NotImplementedError

    def delete(self, cookie=None):
        """
        Deletes a cookie. The ``cookie`` parameter stands for the cookie identifier.

        If none identifier is provided, all cookies are deleted.
        """
        raise NotImplementedError

    def __getitem__(self, item):
        raise NotImplementedError

    def __eq__(self, other_object):
        raise NotImplementedError
{'fraction_non_alphanumeric': 0.09713574097135741, 'fraction_numerical': 0.0, 'mean_word_length': 2.745920745920746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5186645', 'n_tokens_mistral': 438, 'n_tokens_neox': 412, 'n_words': 152}