Browse Source

Issue7186: document that __doc__ is not inherited by subclasses

pull/9921/head
Ethan Furman 11 years ago
parent
commit
f87f515057
  1. 3
      Doc/reference/datamodel.rst

3
Doc/reference/datamodel.rst

@ -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…
Cancel
Save