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 <>
@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:38yselivanovsetrecipients: + yselivanov, ncoghlan, eric.araujo, Claudiu.Popa, eric.snow
2014-12-08 19:45:38yselivanovsetmessageid: <>
2014-12-08 19:45:38yselivanovlinkissue15582 messages
2014-12-08 19:45:38yselivanovcreate