Minor, minor style question
Bengt Richter
bokr at oz.net
Fri Mar 1 20:38:35 EST 2002
More information about the Python-list mailing list
Fri Mar 1 20:38:35 EST 2002
- Previous message (by thread): Minor, minor style question
- Next message (by thread): Minor, minor style question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 01 Mar 2002 12:14:54 -0500, Justin Sheehy <justin at iago.org> wrote: [...] >If those really are the two things being compared, there's a far >better option: > >>>> string = ("abc" >... "def" >... "xyz") >>>> string >'abcdefxyz' > I prefer >>> string = ( ... "abc" ... "def" ... "ghi" ... ) >>> string 'abcdefghi' (Oops, don't mean to say I prefer ghi over xyz ;-) Regards, Bengt Richter
- Previous message (by thread): Minor, minor style question
- Next message (by thread): Minor, minor style question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list