'Creates a new line parser. Please note that no delimiter or separator
may be an "o" or you may encounter undefined behaviour with the
escapes.
:param key_value_delimiters:        Delimiters that delimit a key from
a value.
:param comment_separators:          Used to initiate a comment.
:param key_delimiters:              Delimiters between several keys.
:param section_name_surroundings:   Dictionary, e.g. {"[", "]"} means a
section name is surrounded by [].
If None, {"[": "]"} is used as
default.
:param section_override_delimiters: Delimiter for a section override.
E.g. "." would mean that
section.key is a possible key that
puts the key into the section
"section" despite of the current
section.
:param key_value_append_delimiters: Delimiters to separate key and
value in setting arguments where
settings are being appended.'

def __init__(self, key_value_delimiters=('=',), comment_separators=('#',), key_delimiters=(',', '    '), section_name_surroundings=None, section_override_delimiters=('.',), key_value_append_delimiters=('+=',)):

    section_name_surroundings = ({'[': ']'} if (section_name_surroundings is None) else section_name_surroundings)
    self.key_value_delimiters = key_value_delimiters
    self.key_value_append_delimiters = key_value_append_delimiters
    self.comment_separators = comment_separators
    self.key_delimiters = key_delimiters
    self.section_name_surroundings = section_name_surroundings
    self.section_override_delimiters = section_override_delimiters
