'A descriptor for settings in a ``StaticSection``
``parse`` is the function to be used to read the string and create the
appropriate object. If not given, return the string as-is.
``serialize`` takes an object, and returns the value to be written to
the file. If not given, defaults to ``unicode``.'

def __init__(self, name, parse=None, serialize=None, default=None):

    self.name = name
    if (parse == bool):
        parse = _parse_boolean
        if ((not serialize) or (serialize == bool)):
            serialize = _serialize_boolean
    self.parse = (parse or self.parse)
    self.serialize = (serialize or self.serialize)
    self.default = default
