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

Class BA

Lib/test/test_sys.py:1881–1882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1879 # non-empty __slots__
1880 check = self.check_slots
1881 class BA(bytearray):
1882 __slots__ = 'a', 'b', 'c'
1883 check(BA(), bytearray(), '3P')
1884 class D(dict):
1885 __slots__ = 'a', 'b', 'c'

Callers 1

test_slotsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_slotsMethod · 0.68