Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bdr
· 11y ago · 0 comments
I don't think that's what they wanted:
>>> nested_dd['d'] 'hello'
Comments
[–]
choochootrain
11y ago
try nested_dd = lambda: defaultdict(nested_dd)
[–]
jamiesonbecker
11y ago
Just. Wow.