I agree in general, but there a few cases when this non-pythonic form
makes code much more readable. I wouldn't encourage it too much, but
I'm not sure splitting statements like following into multiple attrs
is a good idea:
attrs(
title = '',
menu = None,
statusbar = None,
allow_resize=True, allow_maximize=True,
posx=50, posy=100, #@@
minimized=False, maximized=False, #@@
initial_width=None, initial_height=None,
)
The implementation is a hack, but there are real cases where win is so
big I'd rather let it stay.
--
Best Regards,
Sergey Schetinin
http://s3bk.com/ -- S3 Backup
http://word-to-html.com/ -- Word to HTML Converter