Re: A small question about PEP 8

2013-07-09 Thread llanitedave
I definitely prefer the 'fool' style. -- http://mail.python.org/mailman/listinfo/python-list

Re: A small question about PEP 8

2013-07-09 Thread Xue Fuqiao
On Mon, Jul 8, 2013 at 6:39 PM, Joshua Landau wrote: > On 8 July 2013 00:32, Xue Fuqiao wrote: >> I'm a Python newbie and just started reading PEP 8. PEP 8 says: >> >> --- >> |The closing brace/bracket/parenthesis on multi-line

Re: A small question about PEP 8

2013-07-08 Thread Ethan Furman
On 07/08/2013 03:39 AM, Joshua Landau wrote: On 8 July 2013 00:32, Xue Fuqiao wrote: Hi all, (English is not my native language; please excuse typing errors.) I'm a Python newbie and just started reading PEP 8. PEP says: --

Re: A small question about PEP 8

2013-07-08 Thread Joshua Landau
On 8 July 2013 13:02, Steven D'Aprano wrote: > On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: > Imagine: >> >> """ >> a_wonderful_set_of_things = { >> bannanas_made_of_apples, >> chocolate_covered_horns, >> doors_that_slide, >> china_but_on_the_moon, >> buffalo_with_

Re: A small question about PEP 8

2013-07-08 Thread Dave Angel
On 07/08/2013 08:02 AM, Steven D'Aprano wrote: On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: Or you can (be sane) and put it at no indentation: """ a_wonderful_set_of_things = { ..., not_missing_an_end_brace } """ I consider that the least aesthetically pleasing,

Re: A small question about PEP 8

2013-07-08 Thread Steven D'Aprano
On Mon, 08 Jul 2013 11:39:21 +0100, Joshua Landau wrote: > On 8 July 2013 00:32, Xue Fuqiao wrote: >> Hi all, >> >> (English is not my native language; please excuse typing errors.) >> >> I'm a Python newbie and just started reading PEP 8. PEP says: >> >>

Re: A small question about PEP 8

2013-07-08 Thread Steven D'Aprano
On Mon, 08 Jul 2013 07:32:01 +0800, Xue Fuqiao wrote: > Hi all, > > (English is not my native language; please excuse typing errors.) > > I'm a Python newbie and just started reading PEP 8. PEP says: > > --- > |The closing bra

Re: A small question about PEP 8

2013-07-08 Thread Joshua Landau
On 8 July 2013 00:32, Xue Fuqiao wrote: > Hi all, > > (English is not my native language; please excuse typing errors.) > > I'm a Python newbie and just started reading PEP 8. PEP says: > > --- > |The closing brace/bracket/parent

A small question about PEP 8

2013-07-08 Thread Xue Fuqiao
Hi all, (English is not my native language; please excuse typing errors.) I'm a Python newbie and just started reading PEP 8. PEP says: --- |The closing brace/bracket/parenthesis on multi-line constructs may |either line up und