浏览代码

Fixing nlocals

master
Ben Kurtovic 12 年前
父节点
当前提交
83562a2e83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      func_smash.py

+ 1
- 1
func_smash.py 查看文件

@@ -15,7 +15,7 @@ def make_chain(funcs):

def make_function(chain, name, argcount=1):
codes, constants, varnames = _make_codes(chain)
nlocals = len(varnames) + argcount
nlocals = len(varnames)
stacksize = 1024 # High limit?
flags = 0 # Denotes funcs with *args and/or **kwargs; nothing for now
codestring = "".join([chr(code) for code in codes])


正在加载...
取消
保存