Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'context': 0.04; 'raised': 0.07; 'python': 0.08; 'am,': 0.13; 'wrote:': 0.15; 'keyword.': 0.16; 'said.': 0.16; 'mon,': 0.16; 'cheers,': 0.19; 'subject:question': 0.21; 'header:In-Reply-To:1': 0.22; 'keyword': 0.25; 'demonstrate': 0.25; 'all,': 0.28; 'message- id:@mail.gmail.com': 0.28; 'correct': 0.29; 'anthony': 0.30; 'hi,': 0.31; 'earlier': 0.32; 'list': 0.32; 'to:addr:python-list': 0.34; 'question': 0.35; 'questions.': 0.36; 'some': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'two': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'here': 0.66; '11,': 0.68; 'kong': 0.84; 'subject:Property': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=PZKAHMk5+scJDoVKGIWRNaeEEbCvVDvFw2Lfich/++s=; b=u7N+W1ANVBeGllnuPRjsLgqm95aN5Xw6l2CFC6HRr9VPKgvqFofBcF4ttO1/CGwBXa 1SwTGjcF1JTO2ycQ9ocEoV480NI8/xeKtKtV5/Y3+nkL6En6MuItNPT4npktJ3s20tc0 JBK3ym/dNfmrOEpMK8sDVHYVZIcRI46oFZK6I= MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Mon, 11 Jul 2011 10:43:56 -0600 Subject: Re: Property setter and lambda question To: Python 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310402668 news.xs4all.nl 21807 [2001:888:2000:d::a6]:51198 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9263 On Mon, Jul 11, 2011 at 9:54 AM, Anthony Kong w= rote: > Hi, all, > This question is in the same context of my two earlier questions. This > question was raised by some python beginners, and I would like to check w= ith > the list to ensure I provide a correct answer. > Here is a code=A0snippet=A0I used to demonstrate the keyword property: What Thomas said. But also, please note that "property" is a builtin, not a keyword. Cheers, Ian