The code is somewhat different, in their case you provide a list, but here we really need a dictionary-like interface as we don't need to iterate over many operators, we want just the one.