/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_pickle.py | 135 return collections.ChainMap({}, pickle.dispatch_table) 185 return collections.ChainMap({}, pickle.dispatch_table)
|
test_collections.py | 20 from collections import ChainMap 53 ### ChainMap (helper class for configparser and the string module) 59 c = ChainMap() 119 self.assertEqual(ChainMap().maps, [{}]) # no-args --> one new dict 120 self.assertEqual(ChainMap({1:2}).maps, [{1:2}]) # 1 arg --> list 123 self.assertFalse(ChainMap()) 124 self.assertFalse(ChainMap({}, {})) 125 self.assertTrue(ChainMap({1:2}, {})) 126 self.assertTrue(ChainMap({}, {1:2})) 129 class DefaultChainMap(ChainMap) [all...] |
test_typing.py | [all...] |
test_types.py | 591 mapping = collections.ChainMap({'x': 1}, {'y': 2}) 686 mapping = collections.ChainMap(d1, d2) 698 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'] 852 ### ChainMap 855 class ChainMap(MutableMapping): 856 ''' A ChainMap groups multiple dicts (or other mappings) together 870 '''Initialize a ChainMap by setting *maps* to the given mappings. 909 'Create a ChainMap with a single dict created from the iterable.' 913 'New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]' [all...] |
/external/python/cpython3/Lib/unittest/ |
case.py | 513 params_map = collections.ChainMap(params) [all...] |