From: Ethan Furman Date: Sat, 18 Oct 2014 05:25:22 +0000 (-0700) Subject: Issue7186: document that __doc__ is not inherited by subclasses X-Git-Tag: v3.5.0a1~633^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f87f515057613fd36571b49e7cd0a67a627c164a;p=python Issue7186: document that __doc__ is not inherited by subclasses --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index e992f11490..b4cadb10c6 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -454,7 +454,8 @@ Callable types +=========================+===============================+===========+ | :attr:`__doc__` | The function's documentation | Writable | | | string, or ``None`` if | | - | | unavailable | | + | | unavailable; not inherited by | | + | | subclasses | | +-------------------------+-------------------------------+-----------+ | :attr:`__name__` | The function's name | Writable | +-------------------------+-------------------------------+-----------+