webalchemy
webalchemy copied to clipboard
consider chaining methods
e.g.
d= self.rdoc.element('div').style(
background='#AAFFAA',
).appendto(self.container)
instead of...
d= self.rdoc.element('div')
d.style(
background='#AAFFAA',
)
d.appendto(self.container)
maybe its better with longer names... actually doesn't seem too valuable.