[Sugar-devel] [PATCH Help v3] Migrated to Gtk3 and WebKit.WebView SL #3466

Rafael Ortiz rafael at activitycentral.com
Wed Apr 25 10:08:58 EDT 2012


2012/4/25 Manuel Quiñones <manuq at laptop.org>

> 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.
>
>
pep8 shouldn't complain about various ''from imports'' in one line, the
only case where it complains is when you have multiple  ''imports''.
(as the guide says).



>
> > --
> > Kaufmann Manuel
> > Blog: http://humitos.wordpress.com/
> > Porfolio: http://fotos.mkaufmann.com.ar/
> > PyAr: http://www.python.com.ar/
>
>
>
> --
> .. manuq ..
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120425/0c75e61c/attachment.html>


More information about the Sugar-devel mailing list