diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-10-18 05:25:22 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-10-18 05:25:22 (GMT) |
commit | f87f515057613fd36571b49e7cd0a67a627c164a (patch) | |
tree | 13ee74f9fde85658e033a98d6e1759dfa792a67e /Doc/reference | |
parent | 838f2c437db5796d316f106b1496d8d29268c5ca (diff) | |
download | cpython-f87f515057613fd36571b49e7cd0a67a627c164a.zip cpython-f87f515057613fd36571b49e7cd0a67a627c164a.tar.gz cpython-f87f515057613fd36571b49e7cd0a67a627c164a.tar.bz2 |
Issue7186: document that __doc__ is not inherited by subclasses
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 3 |
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 | +-------------------------+-------------------------------+-----------+ |