Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48938
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dreamingforward@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'string': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'concatenate': 0.16; 'lexer': 0.16; 'undefined.': 0.16; 'language': 0.16; 'discussion': 0.18; 'seems': 0.21; 'cc:addr:gmail.com': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; 'probably': 0.32; 'text': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'so,': 0.37; 'recent': 0.39; 'simply': 0.61; 'within': 0.65; 'washington': 0.93 |
| 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=V5anzRv0b57gM0DnlyYnZ5yt7KAKOn1GwVeUKXwp0C0=; b=xym2jrwJBWQuTx2o/PnzZH4J+HkB0NBCmkLm6uXsGEJTlNA1ctSg8sRwOzGk0M2uD3 oUXNrQa5OnxX+0xJqRyhiCeqNWf2CHhjbq9soLU5TTVrS8K1AaL/VKtSKtMZbk5aXs9U XVwUYTyALJvA5KPnb39s+1PaMIt52d1K9htiP5FdB0GI5re8FsQULdD+UPk+uNX1/uZb LBa2r3BtUtblucpqCTDSSOD34ZLKz/FdBAN1Ba5PH4ZMGtLvh0+Rb44sAqq0rMgAX1Q7 atWjD2o1D/V0rLthibsmeDVArW2T34mkdA9NJNyDLag5jBUVpM/pie6bQjayQSnQkFrM FqBA== |
| MIME-Version | 1.0 |
| X-Received | by 10.194.83.71 with SMTP id o7mr12406284wjy.65.1371922994227; Sat, 22 Jun 2013 10:43:14 -0700 (PDT) |
| In-Reply-To | <24094189.2779.1371851333304.JavaMail.rgacote@ip-225.appropriatesolutions.com> |
| References | <CAJ=2b07ETuSuo2+3Xu6vMOJA+q1JwUFTezO3LaYLG8wXd+FLBQ@mail.gmail.com> <24094189.2779.1371851333304.JavaMail.rgacote@ip-225.appropriatesolutions.com> |
| Date | Sat, 22 Jun 2013 10:43:14 -0700 |
| Subject | Re: n00b question on spacing |
| From | Mark Janssen <dreamingforward@gmail.com> |
| To | Ray Cote <rgacote@appropriatesolutions.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | "Yves S. Garret" <yoursurrogategod@gmail.com>, 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3701.1371923002.3114.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1371923002 news.xs4all.nl 15955 [2001:888:2000:d::a6]:45847 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:48938 |
Show key headers only | View raw
> 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.)
--
MarkJ
Tacoma, Washington
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: n00b question on spacing Mark Janssen <dreamingforward@gmail.com> - 2013-06-22 10:43 -0700
Re: n00b question on spacing alex23 <wuwei23@gmail.com> - 2013-06-25 09:48 +1000
Re: n00b question on spacing Mark Janssen <dreamingforward@gmail.com> - 2013-06-24 17:22 -0700
Re: n00b question on spacing Robert Kern <robert.kern@gmail.com> - 2013-06-25 12:19 +0100
Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-25 21:48 +1000
Re: n00b question on spacing Robert Kern <robert.kern@gmail.com> - 2013-06-25 12:59 +0100
Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-25 22:07 +1000
csiph-web