Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on DotDict: A simple Python library to make chained attributes possible.
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.
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?