def dump_information(scanner):
    for block in scanner:
        if isinstance(block, SectionHeader):
            pprint_sectionheader(block)
        elif isinstance(block, InterfaceDescription):
            pprint_interfacedesc(block)
        elif isinstance(block, EnhancedPacket):
            pprint_enhanced_packet(block)
        else:
            print(('    ' + str(block)))
def dump_information(scanner):
    for block in scanner:
        if isinstance(block, SectionHeader):
            pprint_sectionheader(block)
        elif isinstance(block, InterfaceDescription):
            pprint_interfacedesc(block)
        elif isinstance(block, EnhancedPacket):
            pprint_enhanced_packet(block)
        else:
            print(('    ' + str(block)))