def METHOD_NAME():
  # The default factory is called without arguments to produce a new value when
  # a key is not present, in __getitem__ only. This value is added to the dict,
  # so modifying it will modify the dict.
  return collections.defaultdict(float)