Re:DotDict: A simple Python library to make chained attribut...
by samwillis on Wednesday August 02, 2023 @06:20PM
(#36978546)
They could add a __bool__ method to the class the returns false when that level of the namespace is empty. That would allow:
[ Parent
| on HN ]