mirror of https://github.com/python/cpython
Issue7186: document that __doc__ is not inherited by subclasses
This commit is contained in:
parent
838f2c437d
commit
f87f515057
|
@ -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…
Reference in New Issue