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


Groups > comp.lang.python > #53423

Re: What does mean @ sign in first of statement

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <kwpolska@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.071
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'utf-8': 0.07; 'skip:/ 10': 0.09; 'url:blog': 0.10; 'cc:addr:python-list': 0.11; 'def': 0.12; 'question.': 0.14; 'subject:sign': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'cheap': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'skip:@ 10': 0.30; 'statement': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'sep': 0.31; 'url:python': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'yours,': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'does': 0.39; 'url:2012': 0.39; 'url:mail': 0.40; 'from:charset:utf-8': 0.61; 'first': 0.61; 'such': 0.63; 'great': 0.65; 'dear': 0.65; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74; 'as:': 0.81; 'url:tk': 0.95; '2013': 0.98
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:to :cc:content-type:content-transfer-encoding; bh=jGuIxVZUvfA1rhom2RLuAxKqAwr1y1y7S12A9GcfT6M=; b=iG5964p9dPJJi4JYkeaYRNMHBC1detu9RBOY9H8V44LxgPEb5EAU5qukgLDKezwMNt uTVe42eQUiXIC6DrkVZWKSQYEnfHhU3/EChIR51nIXe30TyA5NHd/v+L1xU6l9KQlMCW xj0AumW4geBSYj6YAtzVvGj20Xjb7HitDq9GghaVwOmG7WQp/24QbqYBKlM4UxkwCD7A vwISZdGaFOEgEp1v+OK+/r3t7hD22RWbepyTVcIQJ9nEWMHgx1j/qReZlTLVHN9otrxJ nfJQs4HmMtIhjJ6e6SfvOTZaKXSHxpf1d3MWHzz7BYMOkAG8JwpFRF0sYgGbgRQ/j+1p wYkQ==
MIME-Version 1.0
X-Received by 10.52.35.171 with SMTP id i11mr15422807vdj.4.1378061840152; Sun, 01 Sep 2013 11:57:20 -0700 (PDT)
In-Reply-To <1378061617.6921.3.camel@debian>
References <1378061617.6921.3.camel@debian>
Date Sun, 1 Sep 2013 20:57:20 +0200
Subject Re: What does mean @ sign in first of statement
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
To Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.454.1378061848.19984.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378061848 news.xs4all.nl 15998 [2001:888:2000:d::a6]:52362
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53423

Show key headers only | View raw


On Sun, Sep 1, 2013 at 8:53 PM, Mohsen Pahlevanzadeh
<mohsen@pahlevanzadeh.org> wrote:
> Dear all,
>
> What does mean @ sign in first of statement such as:
>
> //////////////////////
> @hybrid_property
> def fullname(self):
> return self.firstname + " " + self.lastname
> ///////////////////
>
> Sorry for cheap question.
>
> Yours,
> Mohsen
>
> --
> http://mail.python.org/mailman/listinfo/python-list

@hybrid_property is a decorator.  Great resource:
http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/

--
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

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


Thread

Re: What does mean @ sign in first of statement Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-01 20:57 +0200

csiph-web