MCPcopy Index your code
hub / github.com/python/cpython / X

Class X

Lib/test/test_descr.py:6216–6217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6214 if cls.__mro__ is None and cls.__name__ != 'X':
6215 with self.assertRaises(TypeError):
6216 class X(cls):
6217 pass
6218
6219 return type.mro(cls)
6220

Callers 6

test_slotsMethod · 0.70
test_altmroMethod · 0.70
test_set_and_no_getMethod · 0.70

Calls

no outgoing calls

Tested by 6

test_slotsMethod · 0.56
test_altmroMethod · 0.56
test_set_and_no_getMethod · 0.56