In article <camjelr9iq2yg_yf0csd2a9fk5upsgk42wzenn9r8ee2-rwk...@mail.gmail.com>, Mark Janssen <dreamingforw...@gmail.com> wrote: > > Also remember when entering long lines of text that strings concatenate > > within parenthesis. > > So, > > ("a, b, c" > > "d, e, f" > > "g, h, i") > > > > Is the same as ("a, b, cd, e, fg, h, i") > There was a recent discussion about this (under "implicit string > concatenation"). It seems this is a part of the python language > specification that was simply undefined. (A rule probably should be > added to the lexer to make this explicit.)
This behavior is explicitly defined in the Python Language Reference: http://docs.python.org/3/reference/lexical_analysis.html#string-literal-c oncatenation -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list