diff options
author | Guido van Rossum <guido@python.org> | 2006-08-28 15:27:34 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-28 15:27:34 +0000 |
commit | 86e58e239e39845e706c4afa392423f0fedcdf39 (patch) | |
tree | 1d0f4d942e644ee5c903636d87176b98a7203371 /Lib/compiler/pyassem.py | |
parent | ecfd0b2f3bfd622c3ba148e53d3feebb8c1ae721 (diff) | |
download | cpython-git-86e58e239e39845e706c4afa392423f0fedcdf39.tar.gz |
SF patch 1547796 by Georg Brandl -- set literals.
Diffstat (limited to 'Lib/compiler/pyassem.py')
-rw-r--r-- | Lib/compiler/pyassem.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/compiler/pyassem.py b/Lib/compiler/pyassem.py index 95f5c3e409..542d704b98 100644 --- a/Lib/compiler/pyassem.py +++ b/Lib/compiler/pyassem.py @@ -793,6 +793,8 @@ class StackDepthTracker: return -count+1 def BUILD_LIST(self, count): return -count+1 + def BUILD_SET(self, count): + return -count+1 def CALL_FUNCTION(self, argc): hi, lo = divmod(argc, 256) return -(lo + hi * 2) |