summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-09-09 02:40:30 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-09-09 02:40:30 (GMT)
commit100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95 (patch)
tree3e67075bbe0b620a2a98bea63bfeb0897d039cca /Doc/library/inspect.rst
parentdfcfe133001d8d6a8af05f1ce45d7c14ffd1a588 (diff)
downloadcpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.zip
cpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.tar.gz
cpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.tar.bz2
whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index d2247e8..26a2913 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1039,6 +1039,11 @@ line.
returned list represents *frame*; the last entry represents the outermost call
on *frame*'s stack.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: getinnerframes(traceback, context=1)
@@ -1047,6 +1052,11 @@ line.
list represents *traceback*; the last entry represents where the exception was
raised.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: currentframe()
@@ -1066,6 +1076,11 @@ line.
returned list represents the caller; the last entry represents the outermost
call on the stack.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: trace(context=1)
@@ -1074,6 +1089,11 @@ line.
entry in the list represents the caller; the last entry represents where the
exception was raised.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
Fetching attributes statically
------------------------------