diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2014-10-18 05:25:47 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2014-10-18 05:25:47 (GMT) |
commit | 58b2ddf392bdd7be7e6f084f834f16b87466a524 (patch) | |
tree | ce87db3bdc258d8705b3369c9ac4011a4c101dfd /Doc/reference | |
parent | 933430ab69b051aa35130a3cf779528faca9b6f2 (diff) | |
parent | f87f515057613fd36571b49e7cd0a67a627c164a (diff) | |
download | cpython-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.rst | 3 |
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 | +-------------------------+-------------------------------+-----------+ |