Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.099 X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'am,': 0.14; 'wrote:': 0.14; 'rachel': 0.16; 'subject:function': 0.16; 'tue,': 0.20; 'header:In-Reply-To:1': 0.22; 'received:209.85.214.174': 0.23; 'received:mail-iw0-f174.google.com': 0.23; 'chris': 0.27; 'function': 0.27; 'message-id:@mail.gmail.com': 0.28; 'to:addr :python-list': 0.32; 'received:209.85': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'results': 0.61; '2011': 0.62; '26,': 0.68; '12:29': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=TE/2uWeb1r1XjClIgb84cIBwCcwJYt8i2Fdq+CG+L+A=; b=K52R+r4hBopKh51EwEAaqXaYfkReRSidVlEh45Jkja9ccHEGsLtl6DZAbDhjjWkT9p y60YompHQIEhukNDFW6FNf79gfSDbwOPBhtpcXEG5kMcpfp6NdWy+z1PTqnpetA7DTq8 5w21HG50p3czarCrS295cXeM3UaCC4jMgNTRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Sdr7SStTyF9QE8GgZLb6uQmDUvll/ld4Z4Zs29HQUroUusuPSbIGATqlkS4ryNyji5 55pFpH+WAUzVRl2CJ8I1ACGmjP/qAHNSd2JTeBeWyNZ6ku7HYAhyXKkJstUxWE/u88Hq 692/M06pNihyZ0rKXupmVxL7L748BuGJA5JZU= MIME-Version: 1.0 In-Reply-To: References: <4d9f374b$0$12803$426a34cc@news.free.fr> <4da1a8b5$0$23679$426a74cc@news.free.fr> Date: Tue, 26 Apr 2011 05:33:13 +1000 Subject: Re: Argument of the bool function 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: 11 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303759995 news.xs4all.nl 81483 [::ffff:82.94.164.166]:55566 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3988 On Tue, Apr 26, 2011 at 12:29 AM, Thomas Rachel wrote: > for function in actions: > =A0 =A0 results.append(function()) Can this become: results =3D [function() for function in actions] Chris Angelico