Josiah Carlson wrote:
> But in slightly longer examples, I think that the looks are
> significantly improved...
>
> class Foo(base1, base2, *otherbases, metaclass=mymeta,
> private=True, **kwargs):
> ...
>
> vs.
>
> @@(metaclass=mymeta, private=True, **kwargs)
> class Foo(base1, base2, *otherbases):
> ...
>
vs.
class Foo(base1, base2, *otherbases,
metaclass=mymeta, private=True, **kwargs):
When it comes to long class headers, I think vertical whitespace will
prove to be useful for separating out the keywords and the list of bases.
Regards,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com