In Python3.2 I can do this:
foo = Bar()
foo.setSomething(something1).setStatus('horizontal').setAttributes(attributes)
Eventually the chain becomes pretty long. I have an itch for a vertical chaining.
foo = Bar()
foo.setSomething(something1)
.setStatus('vertical')
.setAttributes(attributes)
Is there any way to do that?