def split_uri(uri_str):
  '''Split "prefix://some/path" into ("prefix", "some/path").'''
  m = re.match("([a-zA-Z0-9]+)://(\S*)", uri_str)
  if not m:
    raise InvalidArgument(uri_str % "invalid URI: '%s'")
  return (m.group(1), m.group(2))
dataset/ETHPy150Open bloomreach/zinc/zinc.py/split_uri/swapped operands of `%`