RE: Lazy Attribute

Discussion in 'Python' started by Andriy Kornatskyy, Nov 16, 2012.

  1. from wheezy.core.descriptors import attribute as lazy

    @lazy
    def display_name...

    Thanks.

    Andriy Kornatskyy


    ----------------------------------------
    > Date: Fri, 16 Nov 2012 09:56:41 +0200
    > From:
    > To:
    > Subject: Re: Lazy Attribute
    >
    > On 2012/11/16 09:49 AM, Andriy Kornatskyy wrote:
    >
    > >> The name "attribute" is not very descriptive. Why not "lazy_attribute"instead?

    > >
    > > It just shorter and still descriptive.

    >
    > Shorter, but not descriptive.
    >
    > --
    > Regards
    > Alex
    > --
    > http://mail.python.org/mailman/listinfo/python-list
     
    Andriy Kornatskyy, Nov 16, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Pu
    Replies:
    3
    Views:
    688
    Steven D'Aprano
    Jan 16, 2009
  2. Boris Borcic
    Replies:
    0
    Views:
    566
    Boris Borcic
    Jan 16, 2009
  3. Boris Borcic
    Replies:
    0
    Views:
    560
    Boris Borcic
    Jan 16, 2009
  4. Ian Kelly

    Re: Lazy Attribute

    Ian Kelly, Nov 15, 2012, in forum: Python
    Replies:
    0
    Views:
    185
    Ian Kelly
    Nov 15, 2012
  5. Andriy Kornatskyy

    RE: Lazy Attribute

    Andriy Kornatskyy, Nov 16, 2012, in forum: Python
    Replies:
    3
    Views:
    164
    Rouslan Korneychuk
    Nov 16, 2012
Loading...

Share This Page