Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'back.': 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'operation,': 0.16; 'shorthand': 0.16; 'subject: \n ': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'mathematical': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'too.': 0.31; 'received:google.com': 0.35; "i'll": 0.36; 'vital': 0.78; 'subject:this': 0.83; 'to:none': 0.92 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:cc :content-type; bh=joOVCajiX99rYeZ752J6AzvrIsz8gP76MxQmdRoJe8w=; b=CDPGlTw9XoPtgfyH8EXBZujLlFN6teGy9o8+rnKFJoTm3xiLL/lEr7tHCqIfH4EthK b/TKe5Uf6bV392qEAc2NInrd2B424qzxbH7T6yEMGXbg/mTzQyMa5lpsKrm+sWVsEaOz iIWKd/5dtFFhCW+TlzAtTN4RffZnbJN6H/Tki20Ed6U7jwJsGQuGvTsnYz85Suac5UM6 czg/qMJTS4xPHHLmDkZMA3Yz/8rf0bUhgiTaQLGBXfACWeIO1ty2MnVxshCKzleGSJuv n/YCjOAzd0pcE2n+8eaQyhOJN8K4U768T33DVLHrr0tI1OmGwN8fFzemlqBoRDWo1R7Q VwrQ== MIME-Version: 1.0 X-Received: by 10.69.8.225 with SMTP id dn1mr8689645pbd.46.1397010367579; Tue, 08 Apr 2014 19:26:07 -0700 (PDT) In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <5334c38e$0$29994$c3e8da3$5496439d@news.astraweb.com> <53364327$0$29994$c3e8da3$5496439d@news.astraweb.com> <53365F55.2040302@gmail.com> <533836c4$0$29994$c3e8da3$5496439d@news.astraweb.com> <533e811a$0$29993$c3e8da3$5496439d@news.astraweb.com> <874n26su9f.fsf@elektro.pacujo.net> <53418644$0$29993$c3e8da3$5496439d@news.astraweb.com> <38795bc9-f67d-423f-a929-212b6b38ec8c@googlegroups.com> <5343b186$0$11109$c3e8da3@news.astraweb.com> Date: Wed, 9 Apr 2014 12:26:07 +1000 Subject: Re: Explanation of this Python language feature? [x for x in x for x in x] (to flatten a nested list) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397010375 news.xs4all.nl 2839 [2001:888:2000:d::a6]:51578 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69919 On Wed, Apr 9, 2014 at 10:39 AM, alex23 wrote: >> int > > > Shorthand for 'integerise'. Not at all. "Integrate". It's a vital mathematical operation, that's why you always get a number back. ... I'll get my coat, too. ChrisA