summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-10 01:07:37 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-10 01:07:37 (GMT)
commit7ad765169c176ad9a0f26c28e06bcfd0156ff6f2 (patch)
treef073b19c6592d324ff9e9348b39b33078c53639b
parent9561ce2f0f8df2104eeafeffaedaf8a09bab2848 (diff)
downloadcpython-7ad765169c176ad9a0f26c28e06bcfd0156ff6f2.zip
cpython-7ad765169c176ad9a0f26c28e06bcfd0156ff6f2.tar.gz
cpython-7ad765169c176ad9a0f26c28e06bcfd0156ff6f2.tar.bz2
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 45fc654..d2745f5 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
-------