On Sat, Jul 19, 2014 at 12:52 PM, C.D. Reimer <ch...@cdreimer.com> wrote:
> I've seen code samples for simple functions with the definition and return
> statements written on one line.

Personally, I use this style sometimes for easily understood one-line
if statements or loops. Named functions consist of an interface
declaration and an implementation, and those should be visually
separated by a newline.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to