Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f87f515

Browse files
committed
Issue7186: document that __doc__ is not inherited by subclasses
1 parent 838f2c4 commit f87f515

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/reference/datamodel.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ Callable types
454454
+=========================+===============================+===========+
455455
| :attr:`__doc__` | The function's documentation | Writable |
456456
| | string, or ``None`` if | |
457-
| | unavailable | |
457+
| | unavailable; not inherited by | |
458+
| | subclasses | |
458459
+-------------------------+-------------------------------+-----------+
459460
| :attr:`__name__` | The function's name | Writable |
460461
+-------------------------+-------------------------------+-----------+

0 commit comments

Comments
 (0)