Lines Matching refs:value
106 def __setitem__(self, key, value,
110 # and the inherited dictionary is updated with the new key/value pair.
118 dict_setitem(self, key, value)
159 '''Remove and return a (key, value) pair from the dictionary.
178 value = dict.pop(self, key)
179 return key, value
235 value. If key is not found, d is returned if given, otherwise KeyError
256 '''Insert key with a value of default if key is not in the dictionary.
258 Return the value for key if key is in the dictionary, else default.
296 def fromkeys(cls, iterable, value=None):
297 '''Create a new ordered dictionary with keys from iterable and values set to value.
301 self[key] = value
651 # is already the default value for counter lookups. Initializing
851 '''Union is the maximum of value in either of the input counters.
940 '''Inplace union is the maximum of value from either counter.
1055 def __setitem__(self, key, value):
1056 self.maps[0][key] = value
1072 'Remove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].'
1185 def fromkeys(cls, iterable, value=None):
1188 d[key] = value