]> granicus.if.org Git - python/commitdiff
Issue7186: document that __doc__ is not inherited by subclasses
authorEthan Furman <ethan@stoneleaf.us>
Sat, 18 Oct 2014 05:25:22 +0000 (22:25 -0700)
committerEthan Furman <ethan@stoneleaf.us>
Sat, 18 Oct 2014 05:25:22 +0000 (22:25 -0700)
Doc/reference/datamodel.rst

index e992f11490d32584227ed344af3bf3cb3fe3def4..b4cadb10c69cbfa18ff7d15508fd311a1496a905 100644 (file)
@@ -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  |
       +-------------------------+-------------------------------+-----------+