summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-07-30 15:06:09 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-07-30 15:06:09 (GMT)
commit4333d8bad72c8fa3ff563284edb090e6541022b0 (patch)
tree825488c0a686a5e2fe8a60145a1f6d076c7d2ce1 /Doc/library/inspect.rst
parent61d5aab9b9fc81ca8801d94af8032414f745b8c2 (diff)
downloadcpython-4333d8bad72c8fa3ff563284edb090e6541022b0.zip
cpython-4333d8bad72c8fa3ff563284edb090e6541022b0.tar.gz
cpython-4333d8bad72c8fa3ff563284edb090e6541022b0.tar.bz2
Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.
Patch by Martin Panter.
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 66b9238..3b62e7f 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -423,6 +423,9 @@ Retrieving source code
a class, a method, a property or a descriptor, retrieve the documentation
string from the inheritance hierarchy.
+ .. versionchanged:: 3.5
+ Documentation strings are now inherited if not overridden.
+
.. function:: getcomments(object)