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

Class S

Lib/test/test_sys.py:1890–1891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1888 __slots__ = 'a', 'b', 'c'
1889 check(L(), [], '3P')
1890 class S(set):
1891 __slots__ = 'a', 'b', 'c'
1892 check(S(), set(), '3P')
1893 class FS(frozenset):
1894 __slots__ = 'a', 'b', 'c'

Callers 2

test_internMethod · 0.70
test_slotsMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_internMethod · 0.56
test_slotsMethod · 0.56