Searched refs:resolve_bases (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | types.py | 71 resolved_bases = resolve_bases(bases) 79 def resolve_bases(bases): function
|
/external/python/cpython3/Lib/test/ |
D | test_types.py | 993 self.assertEqual(types.resolve_bases(()), ()) 994 self.assertEqual(types.resolve_bases((c,)), (A,)) 995 self.assertEqual(types.resolve_bases((C,)), (C,)) 996 self.assertEqual(types.resolve_bases((A, C)), (A, C)) 997 self.assertEqual(types.resolve_bases((c, A)), (A,)) 998 self.assertEqual(types.resolve_bases((A, c)), (A,)) 1004 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 | 1500 The new :func:`types.resolve_bases` function resolves MRO entries
|