Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
>>> from collective.solr.parser import AttrDict >>> a = AttrDict() >>> a.update(foo=23, bar=42) >>> a {'foo': 23, 'bar': 42} >>> a['another'] = AttrDict(foo=13) >>> a {'foo': 23, 'bar': 42, 'another': {'foo': 13}} >>> a.foo 23 >>> a.another.foo 13
This paste will be private.
From the Design Piracy series on my blog: