[Python-checkins] cpython (merge 3.4 -> default): Issue7186: document that __doc__ is not inherited by subclasses
ethan.furman
python-checkins at python.org
Sat Oct 18 07:26:07 CEST 2014
https://hg.python.org/cpython/rev/cb8606fc84df
changeset: 93127:cb8606fc84df
parent: 93125:a1500e4a159a
parent: 93126:7c183c782401
user: Ethan Furman <ethan at stoneleaf.us>
date: Fri Oct 17 22:25:47 2014 -0700
summary:
Issue7186: document that __doc__ is not inherited by subclasses
files:
Doc/reference/datamodel.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -454,7 +454,8 @@
+=========================+===============================+===========+
| :attr:`__doc__` | The function's documentation | Writable |
| | string, or ``None`` if | |
- | | unavailable | |
+ | | unavailable; not inherited by | |
+ | | subclasses | |
+-------------------------+-------------------------------+-----------+
| :attr:`__name__` | The function's name | Writable |
+-------------------------+-------------------------------+-----------+
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list