From f87f515057613fd36571b49e7cd0a67a627c164a Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Fri, 17 Oct 2014 22:25:22 -0700 Subject: [PATCH] Issue7186: document that __doc__ is not inherited by subclasses --- Doc/reference/datamodel.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index e992f11490d..b4cadb10c69 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 | +-------------------------+-------------------------------+-----------+