New submission from George Sakkis <george.sak...@gmail.com>: 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 ---------- messages: 86859 nosy: gsakkis severity: normal status: open title: Subclassing property doesn't preserve the auto __doc__ behavior type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com