[pypy-svn] rev 595 - pypy/trunk/src/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Tue May 27 18:05:03 CEST 2003
Author: arigo
Date: Tue May 27 18:05:02 2003
New Revision: 595
Modified:
pypy/trunk/src/pypy/interpreter/extmodule.py
Log:
fix
Modified: pypy/trunk/src/pypy/interpreter/extmodule.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/extmodule.py (original)
+++ pypy/trunk/src/pypy/interpreter/extmodule.py Tue May 27 18:05:02 2003
@@ -35,7 +35,7 @@
assert argname.startswith('w_')
argnames.append(argname[2:])
self.co_varnames = tuple(argnames)
- self.co_argcount = co.co_argcount - 1
+ self.co_argcount = co.co_argcount - start
def eval_code(self, space, w_globals, w_locals):
# this isn't quite complete: varargs and kwargs are missing
More information about the Pypy-commit
mailing list