This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients Claudiu.Popa, eric.araujo, eric.snow, ncoghlan, yselivanov
Date 2014-12-08.19:45:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418067938.67.0.868753522085.issue15582@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2014-12-08 19:45:38yselivanovsetrecipients: + yselivanov, ncoghlan, eric.araujo, Claudiu.Popa, eric.snow
2014-12-08 19:45:38yselivanovsetmessageid: <1418067938.67.0.868753522085.issue15582@psf.upfronthosting.co.za>
2014-12-08 19:45:38yselivanovlinkissue15582 messages
2014-12-08 19:45:38yselivanovcreate