Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Unpaking Tuple Date: Tue, 9 Oct 2012 14:11:26 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 16 Message-ID: References: <801f0e2c-7d1d-4e91-bec5-78c5e53a70ec@googlegroups.com> NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1349791886 4939 64.122.56.22 (9 Oct 2012 14:11:26 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 9 Oct 2012 14:11:26 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.python:31024 On 2012-10-09, Bob Martin wrote: > in 682592 20121008 232126 "Prasad, Ramit" wrote: >>Thomas Bach wrote:=0D=0A> Hi there,=0D=0A> =0D=0A> On Sat, Oct 06, 2012 at = >>03:08:38PM +0000, Steven D'Aprano wrote:=0D=0A> >=0D=0A> > my_tuple =3D my_= >>tuple[:4]=0D=0A> > a,b,c,d =3D my_tuple if len(my_tuple) =3D=3D 4 else (my_= > > How does one unpack this post? ;-) Yea, my newsreader doesn't like those posts either -- though they're not as bad as what yours displays. Mine just shows "^M" strings all at the end of every line. -- Grant Edwards grant.b.edwards Yow! BARBARA STANWYCK makes at me nervous!! gmail.com