[Sugar-devel] [PATCH Help v3] Migrated to Gtk3 and WebKit.WebView SL #3466
Manuel Quiñones
manuq at laptop.org
Wed Apr 25 10:00:50 EDT 2012
El día 25 de abril de 2012 10:50, Manuel Kaufmann <humitos at gmail.com> escribió:
> 2012/4/25 Manuel Quiñones <manuq at laptop.org>:
>> One more little thing, we use one import per line, is a style
>> decision, so please do three lines here.
>
> Why?
>
> What I did is PEP8 syntax: http://www.python.org/dev/peps/pep-0008/#imports
Good question, should be mentioned in this page but it isn't:
http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines
However, see that all Sugar code follows one import per line, so you
should do it for consistency. Yeah the code in activities is up to
the maintainer but would be good to follow Sugar style. Ar least
Browse does so.
>
> --
> Kaufmann Manuel
> Blog: http://humitos.wordpress.com/
> Porfolio: http://fotos.mkaufmann.com.ar/
> PyAr: http://www.python.com.ar/
--
.. manuq ..
More information about the Sugar-devel
mailing list