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

Class D

Lib/test/test_sys.py:1884–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1882 __slots__ = 'a', 'b', 'c'
1883 check(BA(), bytearray(), '3P')
1884 class D(dict):
1885 __slots__ = 'a', 'b', 'c'
1886 check(D(x=[]), {'x': []}, '3P')
1887 class L(list):
1888 __slots__ = 'a', 'b', 'c'

Callers 1

test_slotsMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_slotsMethod · 0.56