Lines Matching defs:values
10 * defaultdict dict subclass that calls a factory function to supply missing values
80 # An inherited dict maps keys to values.
225 def values(self):
226 "D.values() -> an object providing a view on D's values"
297 '''Create a new ordered dictionary with keys from iterable and values set to value.
412 raise TypeError('Got more default values than field names')
457 'fields with new values')
464 'Return a new dict which maps field names to their values.'
537 are stored as dictionary values.
547 >>> sum(c.values()) # total of all counts
606 return sum(self.values())
650 # Initializing counters to zero values isn't necessary because zero
727 'Like dict.__delitem__() but does not raise KeyError for missing values.'
738 # handle case where values are not orderable
1010 return len(set().union(*self.maps)) # reuses stored hash values if possible
1015 d.update(dict.fromkeys(mapping)) # reuses stored hash values if possible