Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'string': 0.09; 'etc).': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '24,': 0.16; 'janssen': 0.16; 'undefined.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'discussion': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'defined': 0.27; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'url:org': 0.36; 'list': 0.37; 'pm,': 0.38; 'recent': 0.39; 'simply': 0.61; 'to:addr:gmail.com': 0.65; 'url:reference': 0.84; 'washington': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OaShaPZyAH1E1ZBy1CsTfg99e5XYel0XH9+YTSLJmq8=; b=jKiKNPEzZCYfAbAxs7/L4DY2M4oxWpju/olzGZP/S+/Q822aUiaebDlhlT6PtxZ/8h 4FeZ5yvkUbZHoo77BwG7C6OsN4Z3v4GyrHerfesJr1kkWrBmTGBCZ8Kx4RRXO+6i2dab Uoga6tV4MT3/JQg3Z6tf5ChixeCTp/q3AheX19Xx8u/vlVlktcmCIQkz803Ag/K6nb14 GkxNjd6g7cZeKBm/fpGVBEVJ3nLs0Qj8hnxZNHcCF8GGnvpBEcRbGTJ58FW9Qe618m3M HUCZ651M7oMLjy6jEppDHOOmc80DI/SsOj38ZAVHUmSKvAQGChHiTJ4ddOLP58PEey5u ofbA== MIME-Version: 1.0 X-Received: by 10.180.205.200 with SMTP id li8mr7482049wic.15.1372119741231; Mon, 24 Jun 2013 17:22:21 -0700 (PDT) In-Reply-To: References: <24094189.2779.1371851333304.JavaMail.rgacote@ip-225.appropriatesolutions.com> Date: Mon, 24 Jun 2013 17:22:21 -0700 Subject: Re: n00b question on spacing From: Mark Janssen To: alex23 Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372119744 news.xs4all.nl 15880 [2001:888:2000:d::a6]:36090 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49113 On Mon, Jun 24, 2013 at 4:48 PM, alex23 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