Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.102 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'string': 0.09; 'subject:Why': 0.09; '10:45': 0.16; 'literals': 0.16; 'literals.': 0.16; 'subject: \n ': 0.16; 'subject:comment': 0.16; 'subject:quoted': 0.16; 'subject:simple': 0.16; 'subject:triple': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'seems': 0.21; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'url:python': 0.33; 'no,': 0.35; 'point.': 0.35; 'received:google.com': 0.35; "i'll": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'ian': 0.60; 'url:3': 0.61; 'more': 0.64; 'thomas': 0.65; 'subject:. ': 0.67; 'mar': 0.68; '26,': 0.68; 'url:4': 0.69; 'goal': 0.75; '2015': 0.84; 'one*': 0.84; 'url:reference': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=RX8ddLGLor2ceccmaPhV1RikEPFm05xTtRu2vEMVZFM=; b=MXGarLuP/OldRxLHo9TVTBozg8bNGP7NBi2hoUrblcoywxxJY+SmMO/dRG8KlNaw20 dkhDjDOKYQhG1rpC1DnHNMR3w+NXKN7bXIfSWzLp3I7CuBcAtHnPAU6+HXL0Y3xpVvKA 1eyktF8m53THnvr4lM76/om/SzvkawB+q28HDKubdp8H89SiGLNoGrpollumcs+Nz9pv /unEmU2Zmx1jqY8JOGKgzO9SXniJ9NVzc7eD57vToUCDcYPs3//RwDL4wXz1KtqQZr0J SP4qKJfyYo9NJ9Q3OQ7xVGXIj2JhQFZVvR13tmoJN0iSSurDfdGt4dF3EqTCNSIcQ9RZ ggig== X-Received: by 10.70.96.98 with SMTP id dr2mr28835909pdb.96.1427394772004; Thu, 26 Mar 2015 11:32:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <3533816.ZYnZ2OzjCs@PointedEars.de> <3971951.908YQu3oQO@PointedEars.de> <1504323.jUKfeKbQsP@PointedEars.de> <2362875.FIK8ImHTJA@PointedEars.de> From: Ian Kelly Date: Thu, 26 Mar 2015 12:32:11 -0600 Subject: Re: A simple single line, triple-quoted comment is giving syntax error. Why? To: Python Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427394775 news.xs4all.nl 2969 [2001:888:2000:d::a6]:48949 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88083 On Thu, Mar 26, 2015 at 12:29 PM, Ian Kelly wrote: > On Thu, Mar 26, 2015 at 10:45 AM, Thomas 'PointedEars' Lahn >> No, in the used flavour of EBNF the unquoted =E2=80=9C+=E2=80=9D followi= ng a goal symbol >> clearly means the occurrence of *at least one* of the immediately preced= ing >> symbol, meaning either one *or more than one*. > > It means one or more *tokens*, not one or more literals. Although reading the documentation, it seems that it also conflates string literals with tokens, so on that I'll have to concede the point. https://docs.python.org/3.4/reference/lexical_analysis.html#string-and-byte= s-literals