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

Class OD

Lib/test/test_sys.py:1900–1901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1898 check(FS([mytuple()]), frozenset([mytuple()]), '3P')
1899 from collections import OrderedDict
1900 class OD(OrderedDict):
1901 __slots__ = 'a', 'b', 'c'
1902 check(OD(x=[]), OrderedDict(x=[]), '3P')
1903
1904 def test_pythontypes(self):

Callers 1

test_slotsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_slotsMethod · 0.68