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


Groups > comp.lang.python > #53423 > unrolled thread

Re: What does mean @ sign in first of statement

Started byChris “Kwpolska” Warrick <kwpolska@gmail.com>
First post2013-09-01 20:57 +0200
Last post2013-09-01 20:57 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#53423 — Re: What does mean @ sign in first of statement

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-09-01 20:57 +0200
SubjectRe: What does mean @ sign in first of statement
Message-ID<mailman.454.1378061848.19984.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web