Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20146

Re: what is the difference between @property and method

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dllizheng@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.109
X-Spam-Level *
X-Spam-Evidence '*H*': 0.78; '*S*': 0.00; 'subject:method': 0.09; 'url:moin': 0.12; '-john': 0.16; 'subject:between': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.18; 'received:209.85.210.174': 0.21; 'received:mail-iy0-f174.google.com': 0.21; 'header:In-Reply- To:1': 0.22; 'cc:addr:gmail.com': 0.28; 'explicitly': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'url:wiki': 0.29; 'url:library': 0.31; 'message-id:@gmail.com': 0.31; 'thank': 0.35; 'url:python': 0.35; 'cc:2**1': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:192': 0.38; 'url:org': 0.39; 'received:209': 0.39; 'john': 0.61; 'header:Message-Id:1': 0.62; 'kind': 0.62; 'property': 0.63; 'is.': 0.63; 'ever': 0.64; 'funny': 0.76; 'url:functions': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ldh51R/aAhQTYWgmLefWFFJpLIjiA3UzbqnKQhti/Oc=; b=VumJtxahdHWDZZin/+6D3qJTTGDXb1REFZiv6bDOM1rakizWDa0l/CYm6wQZj/K/2U YXJimFuDZf/emPlsZitcMFe3tOACVumnvByV7u2witFBiwIFKJ4DG6lWJBAgUfQbDp6d EqiesT3LxyHmDkX1X9nefLJKxqWoiDanuzSF0=
Subject Re: what is the difference between @property and method
Mime-Version 1.0 (Apple Message framework v1257)
Content-Type text/plain; charset=iso-8859-1
From Zheng Li <dllizheng@gmail.com>
In-Reply-To <4F33E806.8070700@optimum.net>
Date Fri, 10 Feb 2012 16:57:26 +0900
Content-Transfer-Encoding 7bit
References <21E56249-1F53-4316-8256-5C3B53E68BCE@gmail.com> <CABicbJJG6MkP+7gC92gLAzewogwkYZVHvGDfY0xXO7M7pOX=8Q@mail.gmail.com> <4F33E806.8070700@optimum.net>
To John Posner <jjposner@optimum.net>
X-Mailer Apple Mail (2.1257)
Cc python-list <python-list@python.org>
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.5642.1328860853.27778.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328860853 news.xs4all.nl 6976 [2001:888:2000:d::a6]:33762
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20146

Show key headers only | View raw


Thank you

On 2012/02/10, at 0:36, John Posner wrote:

> On 2:59 PM, Devin Jeanpierre wrote:
> 
> 
>> It is kind of funny that the docs don't ever explicitly say what a
>> property is. http://docs.python.org/library/functions.html#property --
>> Devin 
> 
> Here's a writeup that does:
> http://wiki.python.org/moin/AlternativeDescriptionOfProperty
> 
> -John
> 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: what is the difference between @property and method Zheng Li <dllizheng@gmail.com> - 2012-02-10 16:57 +0900

csiph-web