MCPcopy Create free account
hub / github.com/ipython/traitlets / C

Class C

tests/test_traitlets.py:174–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 x = Int(20)
173
174 class C(A):
175 def _x_default(self):
176 return 21
177
178 a = A()
179 self.assertEqual(a._trait_values, {})

Callers

nothing calls this directly

Calls 3

ListClass · 0.90
TupleClass · 0.90
DictClass · 0.90

Tested by

no test coverage detected