[wxPython-users] Line Breaks Within Parentheses

Christopher Barker Chris.Barker at noaa.gov
Tue Oct 2 16:18:59 PDT 2007


Rich Shepard wrote:
>   OK. Now I understand. It works with string literals but not with a mix of
> strings and non-string parameters.

huh?

it works fine with a mix:

 >>> def f(*args): print args
...
 >>> f(45,
... "this",
... "that",
... "A long string"
... " and the rest of it",
... 5.65,
... {4:"four", 5:"five"}
... )
(45, 'this', 'that', 'A long string and the rest of it', 
5.6500000000000004, {4: 'four', 5: 'five'})
 >>>



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list