summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-03-08 06:36:37 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-03-08 06:36:37 (GMT)
commit1635578d5f914ffedf767e18d4c6a95194ad1e61 (patch)
tree84b2f879ebbd0a779e3d40dc6c3b91568d57eddb /Doc/library/inspect.rst
parent8591563628dfca26243ef9bf2dfac11eb0b44e77 (diff)
downloadcpython-1635578d5f914ffedf767e18d4c6a95194ad1e61.zip
cpython-1635578d5f914ffedf767e18d4c6a95194ad1e61.tar.gz
cpython-1635578d5f914ffedf767e18d4c6a95194ad1e61.tar.bz2
Improve descriptions of introspection changes
Several of the introspection changes in Python 3.4 are indirect, where inspect module changes affected pydoc, and those in turn affected the help builtin. This update adds versionchanged notes in the key locations, as well as more coverage in the What's New document (in particular, a note in the porting section regarding the expanded domain for inspect.getfullargspec).
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index ccb2bd7..0c08712 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -729,6 +729,11 @@ Classes and functions
Consider using the new :ref:`Signature Object <inspect-signature-object>`
interface, which provides a better way of introspecting functions.
+ .. versionchanged:: 3.4
+ This function is now based on :func:`signature`, but still ignores
+ ``__wrapped__`` attributes and includes the already bound first
+ parameter in the signature output for bound methods.
+
.. function:: getargvalues(frame)