[Python-checkins] cpython: whatsnew: dis.stack_effect (#19722).
r.david.murray
python-checkins at python.org
Mon Mar 10 02:35:19 CET 2014
http://hg.python.org/cpython/rev/4a801f8b7e2d
changeset: 89553:4a801f8b7e2d
user: R David Murray <rdmurray at bitdance.com>
date: Sun Mar 09 21:07:37 2014 -0400
summary:
whatsnew: dis.stack_effect (#19722).
files:
Doc/whatsnew/3.4.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -696,6 +696,10 @@
(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
-------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list