News for hackers. Stuff that matters.
Re:DotDict: A simple Python library to make chained attribut... by bee_rider on Wednesday August 02, 2023 @07:15PM (#36979189)
If I do

config = dd()

config.users.foo = 'bar' config.users = ‘baz’

Is config.users turned into a string and config.users.foo is lost? Or is the equal symbol mapped to something cleverer than assignment?

There are no comments on this comment yet.