HomeSort by relevance Sort by last modified time
    Searched refs:ChainMap (Results 1 - 12 of 12) sorted by null

  /external/python/cpython3/Lib/
string.py 53 from collections import ChainMap as _ChainMap
typing.py     [all...]
pprint.py 451 _dispatch[_collections.ChainMap.__repr__] = _pprint_chain_map
configparser.py 142 from collections import OrderedDict as _default_dict, ChainMap as _ChainMap
    [all...]
  /external/python/cpython3/Lib/test/
test_collections.py 19 from collections import ChainMap
52 ### ChainMap (helper class for configparser and the string module)
58 c = ChainMap()
124 cm = ChainMap(adjustments, baseline)
132 self.assertEqual(ChainMap().maps, [{}]) # no-args --> one new dict
133 self.assertEqual(ChainMap({1:2}).maps, [{1:2}]) # 1 arg --> list
136 self.assertFalse(ChainMap())
137 self.assertFalse(ChainMap({}, {}))
138 self.assertTrue(ChainMap({1:2}, {}))
139 self.assertTrue(ChainMap({}, {1:2})
    [all...]
test_pickle.py 201 return collections.ChainMap({}, pickle.dispatch_table)
254 return collections.ChainMap({}, pickle.dispatch_table)
test_typing.py     [all...]
test_types.py 613 mapping = collections.ChainMap({'x': 1}, {'y': 2})
708 mapping = collections.ChainMap(d1, d2)
720 self.assertIsInstance(copy, collections.ChainMap)
    [all...]
test_functools.py     [all...]
test_grammar.py 15 from collections import ChainMap
    [all...]
  /external/python/cpython3/Lib/collections/
__init__.py 7 * ChainMap dict-like class for creating a single view of multiple mappings
18 'UserString', 'Counter', 'OrderedDict', 'ChainMap']
881 ### ChainMap
884 class ChainMap(_collections_abc.MutableMapping):
885 ''' A ChainMap groups multiple dicts (or other mappings) together
    [all...]
  /external/python/cpython3/Lib/unittest/
case.py 341 class _OrderedChainMap(collections.ChainMap):
    [all...]

Completed in 1436 milliseconds