(original) (raw)

changeset: 89553:4a801f8b7e2d user: R David Murray rdmurray@bitdance.com date: Sun Mar 09 21:07:37 2014 -0400 files: Doc/whatsnew/3.4.rst description: whatsnew: dis.stack_effect (#19722). diff -r fcd1eb5c6026 -r 4a801f8b7e2d Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Sun Mar 09 21:00:14 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Sun Mar 09 21:07:37 2014 -0400 @@ -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 ------- /rdmurray@bitdance.com