'Call L{dns._compactRepr} to generate a string representation.'

def __repr__(self):

    return dns._compactRepr(self, alwaysShow='alwaysShowField'.split(), fieldNames='field1    field2    alwaysShowField'.split(), flagNames='flagTrue    flagFalse'.split(), sectionNames='section1    section2'.split())
