Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
List
Class · 0.90
Tuple
Class · 0.90
Dict
Class · 0.90
Tested by
no test coverage detected