tools/disable_tests/conditions.py
def op_of(op: str, args: List[Condition]) -> Condition:
  """Make an operator, simplifying the single-argument case."""

  if len(args) == 1:
    return args[0]
  return (op, args)
Make an operator, simplifying the single-argument case.
Make an operator, simplifying the single-argument case.
Make an operator simplifying the single - argument case .
def op_of(op: str, args: List[Condition]) -> Condition:
  if len(args) == 1:
    return args[0]
  return (op, args)
def op_of ( op : str , args : List [ Condition ] ) -> Condition : if len ( args ) == 1 : return args [ 0 ] return ( op , args )
Make an operator, simplifying the single-argument case.
Make an operator simplifying the single - argument case .
"""Make an operator, simplifying the single-argument case."""
op
str
args
List[Condition]