commit | 7ba8e1cbfdd262f809038fa590c6004ac71b3ce8 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Mon May 04 22:16:24 2009 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Mon May 04 22:16:24 2009 +0000 |
tree | 015d5f8f5efc7b5a15b254825910a5be11ae020e | |
parent | 97377bf56685282ac6e504f64e71794a7bdd80b6 [diff] |
Fix issue 5890: (property subclass shadows __doc__ string) by inserting the __doc__ into the subclass instance __dict__. The fix refactors property_copy to call property_init in such a way that the __doc__ logic is re-executed correctly when getter_doc is 1, thus simplifying property_copy.