def _simpleprint_styles(_styles):
 return u'[{}]'.format(u'|'.join(map(u" '{}' ".format, sorted(_styles))))

def _simpleprint_styles ( _styles ) : return u'[{}]' . format ( u'|' . join ( map ( u" '{}' " . format , sorted ( _styles ) ) ) )
a helper function for the _style class .