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


Groups > comp.lang.python > #20083

Re: Re: what is the difference between @property and method

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jjposner@optimum.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.047
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'header:In-reply-to:1': 0.09; 'subject:method': 0.09; 'url:moin': 0.12; '-john': 0.16; 'received:167.206.4': 0.16; 'received:cv.net': 0.16; 'received:hcvlny.cv.net': 0.16; 'received:srv.hcvlny.cv.net': 0.16; 'subject:between': 0.16; 'wrote:': 0.18; 'explicitly': 0.29; 'pm,': 0.29; 'url:wiki': 0.29; 'url:library': 0.31; 'header:User- Agent:1': 0.33; 'to:addr:python-list': 0.35; 'url:python': 0.35; 'to:name:python-list': 0.37; 'received:192': 0.38; 'url:org': 0.39; 'to:addr:python.org': 0.40; 'kind': 0.62; 'property': 0.63; 'is.': 0.63; 'ever': 0.64; 'funny': 0.76; 'url:functions': 0.84
Date Thu, 09 Feb 2012 10:36:38 -0500
From John Posner <jjposner@optimum.net>
Subject Re: Re: what is the difference between @property and method
In-reply-to <CABicbJJG6MkP+7gC92gLAzewogwkYZVHvGDfY0xXO7M7pOX=8Q@mail.gmail.com>
To Devin Jeanpierre <jeanpierreda@gmail.com>, python-list <python-list@python.org>, dllizheng@gmail.com
MIME-version 1.0
Content-type text/plain; charset=ISO-8859-1
Content-transfer-encoding 7BIT
X-Enigmail-Version 1.3.5
References <21E56249-1F53-4316-8256-5C3B53E68BCE@gmail.com> <CABicbJJG6MkP+7gC92gLAzewogwkYZVHvGDfY0xXO7M7pOX=8Q@mail.gmail.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
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.5595.1328803622.27778.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328803622 news.xs4all.nl 6924 [2001:888:2000:d::a6]:49752
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20083

Show key headers only | View raw


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: Re: what is the difference between @property and method John Posner <jjposner@optimum.net> - 2012-02-09 10:36 -0500

csiph-web