summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-09 21:07:37 -0400
committerR David Murray <rdmurray@bitdance.com>2014-03-09 21:07:37 -0400
commit7ad765169c176ad9a0f26c28e06bcfd0156ff6f2 (patch)
treef073b19c6592d324ff9e9348b39b33078c53639b
parent9561ce2f0f8df2104eeafeffaedaf8a09bab2848 (diff)
downloadcpython-git-7ad765169c176ad9a0f26c28e06bcfd0156ff6f2.tar.gz
whatsnew: dis.stack_effect (#19722).
-rw-r--r--Doc/whatsnew/3.4.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 45fc6540f8..d2745f5c9f 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -696,6 +696,10 @@ to ``distb(tb)``).
(Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in :issue:`11816`
and Claudiu Popa in :issue:`17916`)
+New function :func:`~dis.stack_effect` computes the effect on the Python stack
+of a given opcode and argument, information that is not otherwise available.
+(Contributed by Larry Hastings in :issue:`19722`.)
+
doctest
-------