    class CookieError(Exception):

    class Morsel(UserDict):
        def __init__(self):
        def __setitem__(self, K, V):
        def isReservedKey(self, K):
        def set(self, key, val, coded_val,
        def output(self, attrs=None, header = "Set-Cookie:"):
        def __repr__(self):
        def js_output(self, attrs=None):
        def OutputString(self, attrs=None):

    class BaseCookie(UserDict):
        def value_decode(self, val):
        def value_encode(self, val):
        def __init__(self, input=None):
        def __set(self, key, real_value, coded_value):
        def __setitem__(self, key, value):
        def output(self, attrs=None, header="Set-Cookie:", sep="\n"):
        def __repr__(self):
        def js_output(self, attrs=None):
        def load(self, rawdata):
        def __ParseString(self, str, patt=_CookiePattern):

    class SimpleCookie(BaseCookie):
        def value_decode(self, val):
        def value_encode(self, val):

    class SerialCookie(BaseCookie):
        def value_decode(self, val):
        def value_encode(self, val):

    class SmartCookie(BaseCookie):
        def value_decode(self, val):
        def value_encode(self, val):