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.4.3rc1~450 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f87f515057613fd36571b49e7cd0a67a627c164a;p=thirdparty%2FPython%2Fcpython.git Issue7186: document that __doc__ is not inherited by subclasses --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index e992f11490d3..b4cadb10c69c 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 | +-------------------------+-------------------------------+-----------+