Searched refs:resolve_bases (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | types.py | 64 resolved_bases = resolve_bases(bases) 72 def resolve_bases(bases): function
|
/external/python/cpython3/Lib/test/ |
D | test_types.py | 964 self.assertEqual(types.resolve_bases(()), ()) 965 self.assertEqual(types.resolve_bases((c,)), (A,)) 966 self.assertEqual(types.resolve_bases((C,)), (C,)) 967 self.assertEqual(types.resolve_bases((A, C)), (A, C)) 968 self.assertEqual(types.resolve_bases((c, A)), (A,)) 969 self.assertEqual(types.resolve_bases((A, c)), (A,)) 975 self.assertIs(types.resolve_bases(bases), bases)
|
/external/python/cpython3/Doc/library/ |
D | types.rst | 72 .. function:: resolve_bases(bases)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 1484 The new :func:`types.resolve_bases` function resolves MRO entries
|