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

Class B_tuple

Lib/test/test_descr.py:4334–4335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4332 def __repr__(self):
4333 return '<A_tuple>'
4334 class B_tuple(tuple):
4335 __slots__ = ()
4336 b = B_tuple((1, 2))
4337 with self.assertRaisesRegex(TypeError, 'layout differs'):
4338 B_tuple.__bases__ = (object,)

Callers 1

test_mutable_basesMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_mutable_basesMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…