Issue7186: document that __doc__ is not inherited by subclasses

This commit is contained in:
Ethan Furman 2014-10-17 22:25:22 -07:00
parent 838f2c437d
commit f87f515057
1 changed files with 2 additions and 1 deletions

View File

@ -454,7 +454,8 @@ Callable types
+=========================+===============================+===========+ +=========================+===============================+===========+
| :attr:`__doc__` | The function's documentation | Writable | | :attr:`__doc__` | The function's documentation | Writable |
| | string, or ``None`` if | | | | string, or ``None`` if | |
| | unavailable | | | | unavailable; not inherited by | |
| | subclasses | |
+-------------------------+-------------------------------+-----------+ +-------------------------+-------------------------------+-----------+
| :attr:`__name__` | The function's name | Writable | | :attr:`__name__` | The function's name | Writable |
+-------------------------+-------------------------------+-----------+ +-------------------------+-------------------------------+-----------+