def method_name_for_op(op, commute=False):
 if commute:
  return _ops_to_commuted_methods[op]
 return _ops_to_methods[op]

def method_name_for_op ( op , commute = False ) : if commute : return _ops_to_commuted_methods [ op ] return _ops_to_methods [ op ]
get the name of the python magic method corresponding to op .