def iter_bad_values():
 for (ctype, values) in sorted(BAD_VALUES.items()):
  for (value, repl) in values:
   (yield (ctype, value, repl))

def iter_bad_values ( ) : for ( ctype , values ) in sorted ( BAD_VALUES . items ( ) ) : for ( value , repl ) in values : ( yield ( ctype , value , repl ) )
yield pairs of "bad" tuples .