summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2014-10-18 05:25:47 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2014-10-18 05:25:47 (GMT)
commit58b2ddf392bdd7be7e6f084f834f16b87466a524 (patch)
treece87db3bdc258d8705b3369c9ac4011a4c101dfd /Doc/reference
parent933430ab69b051aa35130a3cf779528faca9b6f2 (diff)
parentf87f515057613fd36571b49e7cd0a67a627c164a (diff)
downloadcpython-58b2ddf392bdd7be7e6f084f834f16b87466a524.zip
cpython-58b2ddf392bdd7be7e6f084f834f16b87466a524.tar.gz
cpython-58b2ddf392bdd7be7e6f084f834f16b87466a524.tar.bz2
Issue7186: document that __doc__ is not inherited by subclasses
Diffstat (limited to 'Doc/reference')
-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 0757aa8..608a878 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 |
+-------------------------+-------------------------------+-----------+