MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ok1itb/tryexcept_in_python_sigh/h559ek7/?context=3
r/badcode • u/lonaExe • Jul 14 '21
93 comments sorted by
View all comments
Show parent comment
14
That exists, it’s called defaultdict.
5 u/schmidlidev Jul 14 '21 Not for deeply nested stuff.Python just needs optional chaining.
5
Not for deeply nested stuff.
Python just needs optional chaining.
View all comments
Show parent comment
14
u/AchillesDev Jul 14 '21
That exists, it’s called defaultdict.