mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Issue7186: document that __doc__ is not inherited by subclasses
This commit is contained in:
parent
838f2c437d
commit
f87f515057
1 changed files with 2 additions and 1 deletions
|
|
@ -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 |
|
||||||
+-------------------------+-------------------------------+-----------+
|
+-------------------------+-------------------------------+-----------+
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue