n00b question on spacing

Mark Janssen dreamingforward at gmail.com
Mon Jun 24 20:22:21 EDT 2013


On Mon, Jun 24, 2013 at 4:48 PM, alex23 <wuwei23 at gmail.com> wrote:
> On 23/06/2013 3:43 AM, Mark Janssen wrote:
>>
>> 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.
>
>
> It's part of the language reference, not an accidental artifact:
> http://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation

When I say "specification", I mean "specified in the formal notation"
(BNF, etc).  "whitespace" is not defined (otherwise there would be a
line in the token list for "linefeed" and "carriagereturn".

-- 
MarkJ
Tacoma, Washington



More information about the Python-list mailing list