commit | b646547bb45fe1df6abefd94f892c633798d91d2 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Mon Jan 11 22:36:12 2010 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Mon Jan 11 22:36:12 2010 +0000 |
tree | ef1add045741d309129266726f5ba45562184091 | |
parent | 0ca7452794bef03b66f56cc996a73cac066d0ec1 [diff] [blame] |
Issue #2333: Backport set and dict comprehensions syntax.
diff --git a/Lib/compiler/pyassem.py b/Lib/compiler/pyassem.py index 88510de..286be0c 100644 --- a/Lib/compiler/pyassem.py +++ b/Lib/compiler/pyassem.py
@@ -685,7 +685,9 @@ effect = { 'POP_TOP': -1, 'DUP_TOP': 1, - 'LIST_APPEND': -2, + 'LIST_APPEND': -1, + 'SET_ADD': -1, + 'MAP_ADD': -2, 'SLICE+1': -1, 'SLICE+2': -1, 'SLICE+3': -2,