summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-10-18 05:25:22 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2014-10-18 05:25:22 (GMT)
commitf87f515057613fd36571b49e7cd0a67a627c164a (patch)
tree13ee74f9fde85658e033a98d6e1759dfa792a67e
parent838f2c437db5796d316f106b1496d8d29268c5ca (diff)
downloadcpython-f87f515057613fd36571b49e7cd0a67a627c164a.zip
cpython-f87f515057613fd36571b49e7cd0a67a627c164a.tar.gz
cpython-f87f515057613fd36571b49e7cd0a67a627c164a.tar.bz2
Issue7186: document that __doc__ is not inherited by subclasses
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index e992f11..b4cadb1 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 |
+-------------------------+-------------------------------+-----------+