def _dump_registry(cls, file=None):
print >> file, "<STR_LIT>" % (cls.__module__, cls.__name__)<EOL>print >> file, "<STR_LIT>" % ABCMeta._abc_invalidation_counter<EOL>for name in sorted(cls.__dict__.keys()):<EOL><INDENT>if name.startswith("<STR_LIT>"):<EOL><INDENT>value = getattr(cls, name)<EOL>print >> file, "<STR_LIT>" % (name, value)<EOL><DEDENT><DEDENT>
Debug helper to print the ABC registry.