Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9652
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bahamutzero8825@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'skip:p 60': 0.05; '"""': 0.07; '>>>>': 0.09; 'pgp': 0.09; 'message-----': 0.12; 'am,': 0.13; 'wrote:': 0.15; '"...': 0.16; '-----begin': 0.16; '-----end': 0.16; '3.2.1': 0.16; 'gnupg': 0.16; 'hash:': 0.16; 'rantingrick': 0.16; 'subject:PEP': 0.16; 'thunderbird': 0.16; 'url:enigmail': 0.16; 'url:mozdev': 0.16; 'def': 0.16; 'comment:': 0.19; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; "shouldn't": 0.23; 'windows': 0.26; 'id:': 0.29; 'skip:+ 60': 0.30; 'print': 0.32; 'signed': 0.32; 'message-id:@gmail.com': 0.32; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; 'preserve': 0.35; 'some': 0.37; 'but': 0.37; 'using': 0.37; 'received:192': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'received:192.168.1': 0.39; 'version:': 0.39; 'to:addr:python.org': 0.39; 'might': 0.39; 'received:209': 0.40; 'watch': 0.63; "'foo'": 0.84; '5.0': 0.84; '10:32': 0.91; 'skip:9 60': 0.93; 'subject:Proposal': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=GB7OPeWHBBB8SBqo+iwOqlr+bj1McPdD/zNv51vQ2dw=; b=xCS7YbWvsJKC++KiDv5o6aah/2lIqANgF/yv25LpdJV2LTR4iMMmZChkV9laR8NoiC wyZeARie4aUPYsNE0wqNfz4g1chk7CbvS4oxIwxJwFcoYp0tNSJWQXbUG0MwhgZoCWcS NUHZHDRgUCGz4wXZi76Xw5PJkGosXZcQsIsMw= |
| Date | Sat, 16 Jul 2011 18:03:50 -0500 |
| From | Andrew Berg <bahamutzero8825@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
| MIME-Version | 1.0 |
| To | "comp.lang.python" <python-list@python.org> |
| Subject | Re: Proposal to extend PEP 257 (New Documentation String Spec) |
| References | <120629e8-3b37-4e8c-a472-cd361de15de4@g9g2000yqb.googlegroups.com> <mailman.1048.1310714025.1164.python-list@python.org> <cb71a0e9-741d-4406-ac8d-a85abbf7571c@g16g2000yqg.googlegroups.com> <mailman.1086.1310771799.1164.python-list@python.org> <ca8079b9-b4b1-4dec-a951-9d488f7cb201@cq10g2000vbb.googlegroups.com> |
| In-Reply-To | <ca8079b9-b4b1-4dec-a951-9d488f7cb201@cq10g2000vbb.googlegroups.com> |
| X-Enigmail-Version | 1.2 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.1135.1310857442.1164.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310857442 news.xs4all.nl 23882 [2001:888:2000:d::a6]:45091 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9652 |
Show key headers only | View raw
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On 2011.07.16 10:32 AM, rantingrick wrote:
> This method will preserve indention. However some might
> blubber..."Yeah but then you have to remove the arrows, boo :( "...
> well just watch and learn kiddo:
>
>>>> s = """
> def foo(): --->for x in range(10): --->--->print 'foo' """
>>>> s = s.replace('--->', ' ') print s
>
> def foo(): for x in range(10): print 'foo'
>
>>>>
Shouldn't that be s = s.replace('--->', '\t') ?
:p
- --
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEbBAEBAwAGBQJOIhjWAAoJEPiOA0Bgp4/LdgYH+Mi1Fs5iUbwa77K7ta65WqG2
Ga1gOmqtD+wWn6NwM/5uFfCPhYVUbiGzr0J4BZn11SbmNEa7/ePKmg7F4C1ShJBe
CiZzKA2yhP2rkQzsvwExYSEJQi8Xdrx4qnyDRGyFBbolPFxugM2+pm1cghzgF6po
+meJQfpGNKvsgAWwxLLP2MRy10QHfKH6VdlIToMbgMtpQiEI2/qVBZWq5QZ6bMcG
9RMFMDUiEXSlWMhjenRPL9sc+9m5ZWgd6wSHDvCG0Dg7NRIIvdod8V+bvJIkLGln
PLC5h3Oq25l+YJI6opeEaXtD24SqI3MSmNIRQhNTKMLfe+owQCEGN7U50aQE/Q==
=wpRx
-----END PGP SIGNATURE-----
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Proposal to extend PEP 257 (New Documentation String Spec) rantingrick <rantingrick@gmail.com> - 2011-07-14 16:02 -0700
Re: Proposal to extend PEP 257 (New Documentation String Spec) Ben Finney <ben+python@benfinney.id.au> - 2011-07-15 10:24 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-15 02:00 -0400
Re: Proposal to extend PEP 257 (New Documentation String Spec) Chris Angelico <rosuav@gmail.com> - 2011-07-15 17:13 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) rantingrick <rantingrick@gmail.com> - 2011-07-15 11:56 -0700
Re: Proposal to extend PEP 257 (New Documentation String Spec) Chris Angelico <rosuav@gmail.com> - 2011-07-16 09:16 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) rantingrick <rantingrick@gmail.com> - 2011-07-16 08:32 -0700
Re: Proposal to extend PEP 257 (New Documentation String Spec) Chris Angelico <rosuav@gmail.com> - 2011-07-17 02:25 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-16 18:03 -0500
Re: Proposal to extend PEP 257 (New Documentation String Spec) rantingrick <rantingrick@gmail.com> - 2011-07-16 16:25 -0700
Re: Proposal to extend PEP 257 (New Documentation String Spec) Chris Angelico <rosuav@gmail.com> - 2011-07-17 09:45 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-16 18:44 -0500
Re: Proposal to extend PEP 257 (New Documentation String Spec) Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-16 15:23 -0400
Re: Proposal to extend PEP 257 (New Documentation String Spec) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-17 13:10 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) Tim Chase <python.list@tim.thechases.com> - 2011-07-17 06:11 -0500
Re: Proposal to extend PEP 257 (New Documentation String Spec) rantingrick <rantingrick@gmail.com> - 2011-07-17 10:30 -0700
Re: Proposal to extend PEP 257 (New Documentation String Spec) Chris Angelico <rosuav@gmail.com> - 2011-07-17 09:09 +1000
Re: Proposal to extend PEP 257 (New Documentation String Spec) George Rodrigues da Cunha Silva <georger.silva@gmail.com> - 2011-07-15 12:44 -0300
csiph-web