def __repr__(self): return '{}({})'.format( type(self).__name__, ', '.join(itertools.starmap('{!s}={!r}'.format, sorted(vars(self).items()))))