Am Wed, 3 Apr 2013 21:32:33 -0700 (PDT)
schrieb llanitedave <llanited...@veawb.coop>:

> I would hate to have to break up this line, for instance:
> 
> self.mainLabel.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.BOLD,
> faceName = "FreeSans"))

I think this is much more readable:

self.mainLabel.SetFont(wx.Font(12,
                               wx.DEFAULT,
                               wx.NORMAL,
                               wx.BOLD,
                               faceName = "FreeSans"))  

Emacs for example does this indentation with the TAB key automatically.

--
Greg                                     

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to