mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Issue7186: document that __doc__ is not inherited by subclasses
This commit is contained in:
commit
58b2ddf392
1 changed files with 2 additions and 1 deletions
|
@ -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 |
|
||||
+-------------------------+-------------------------------+-----------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue