Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'instance,': 0.05; 'run- time': 0.05; 'subject:Anyone': 0.07; 'am,': 0.13; 'wrote:': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; '(which': 0.20; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; '(or': 0.25; 'translation': 0.25; 'saying': 0.26; 'string': 0.26; "i'm": 0.27; 'right,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'explicitly': 0.29; 'wraps': 0.30; 'looks': 0.30; 'least': 0.31; 'subject:?': 0.31; 'lines': 0.31; 'break': 0.33; 'it.': 0.33; 'to:addr:python- list': 0.34; 'there': 0.34; '(not': 0.35; 'convenient': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'except': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'believe': 0.66; 'subject:program': 0.67; 'works,': 0.68; 'want,': 0.71; 'subject:this': 0.74; 'ugly,': 0.84; 'subject:want': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=UoNtPgd6Itnaw0uDZPakb+C/ipbhkT9hQ4ziO6EAz5w=; b=OrKE55Cb7RbOI+Iaeyn+hKWF3kr70YgVxZpzPvk7wSywrYiEBAwmZ0JAM65/Lmg0Vb 8m5x85zn2qgHvDjvDDp+34vN49cqG4ZBka1TNi/H3wDFOprVNfc4sydtJTK9htcoS0al b5R/QFCZY1XZZAqoHH3mSJyHuuJ62PIWvaxfc= MIME-Version: 1.0 In-Reply-To: References: <4be432d4-5185-4101-9699-de5524c3fa57@x3g2000yqj.googlegroups.com> <5c3aba69-fddd-45ed-bf0c-8fa98df7aa73@r2g2000vbj.googlegroups.com> <75474208-0a8f-4ac1-8e26-18d8fe6b9efc@u26g2000vby.googlegroups.com> Date: Tue, 5 Jul 2011 03:21:08 +1000 Subject: Re: Anyone want to critique this program? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309800071 news.xs4all.nl 21868 [2001:888:2000:d::a6]:34495 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8779 On Tue, Jul 5, 2011 at 2:37 AM, OKB (not okblacke) wrote: > =A0 =A0 =A0 =A0Well, what I'm saying is I use an editor that lets me make= the > lines as long as I want, and it still wraps them right, so I never > explicitly hit enter to break a line except at the end of a string (or > paragraph). In this instance, I believe the OP was paragraphing his text. Is there a convenient way to do that in a triple-quoted string? My personal inclination would be to simply back-tab it. It looks ugly, but at least it works, and doesn't require a run-time re-parse. The run-time translation is good for docstrings, though (which are syntactically the same thing as this situation). ChrisA