Author gsakkis
Recipients gsakkis
Date 2009-04-30.22:13:11
SpamBayes Score 0.000233968
Marked as misclassified No
Message-id <1241129592.84.0.608165277997.issue5890@psf.upfronthosting.co.za>
In-reply-to
Content
Is the following behavior expected ?

class MyProp(property):
    pass

class Foo(object):
    @property
    def bar(self):
        '''Get a bar.'''

    @MyProp
    def baz(self):
        '''Get a baz.'''

    
>>> print Foo.bar.__doc__ 
Get a bar.
>>> print Foo.baz.__doc__
None
History
Date User Action Args
2009-04-30 22:13:12gsakkissetrecipients: + gsakkis
2009-04-30 22:13:12gsakkissetmessageid: <1241129592.84.0.608165277997.issue5890@psf.upfronthosting.co.za>
2009-04-30 22:13:11gsakkislinkissue5890 messages
2009-04-30 22:13:11gsakkiscreate