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

Class C0

Lib/test/test_descr.py:1109–1110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107 def test_slots(self):
1108 # Testing __slots__...
1109 class C0(object):
1110 __slots__ = []
1111 x = C0()
1112 self.assertNotHasAttr(x, "__dict__")
1113 self.assertNotHasAttr(x, "foo")

Callers 1

test_slotsMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_slotsMethod · 0.56