Message232322
@Claudiu, you should also add this test and make sure that it passes:
class Parent:
__doc__ = 'some documentation'
class Child(Parent):
__doc__ = None
assert getdoc(Child) is None
In other words -- we use __doc__ defined in parent classes only when there was no __doc__ in children's __dict__s. |
|
Date |
User |
Action |
Args |
2014-12-08 19:45:38 | yselivanov | set | recipients:
+ yselivanov, ncoghlan, eric.araujo, Claudiu.Popa, eric.snow |
2014-12-08 19:45:38 | yselivanov | set | messageid: <1418067938.67.0.868753522085.issue15582@psf.upfronthosting.co.za> |
2014-12-08 19:45:38 | yselivanov | link | issue15582 messages |
2014-12-08 19:45:38 | yselivanov | create | |
|