def equal_fields(matchdict, field):
 return equal((m[field] for m in matchdict.values()))

def equal_fields ( matchdict , field ) : return equal ( ( m [ field ] for m in matchdict . values ( ) ) )
do all items in matchdict .