[pypy-svn] r35708 - in pypy/dist/pypy: interpreter module/_stackless
arigo at codespeak.net
arigo at codespeak.net
Wed Dec 13 22:17:32 CET 2006
Author: arigo
Date: Wed Dec 13 22:17:28 2006
New Revision: 35708
Modified:
pypy/dist/pypy/interpreter/argument.py
pypy/dist/pypy/module/_stackless/interp_greenlet.py
Log:
This argument could never actually be None.
Modified: pypy/dist/pypy/interpreter/argument.py
==============================================================================
--- pypy/dist/pypy/interpreter/argument.py (original)
+++ pypy/dist/pypy/interpreter/argument.py Wed Dec 13 22:17:28 2006
@@ -322,7 +322,7 @@
### Construction ###
- def __init__(self, space, args_w=None, kwds_w=None,
+ def __init__(self, space, args_w, kwds_w=None,
w_stararg=None, w_starstararg=None):
self.space = space
self.arguments_w = args_w
Modified: pypy/dist/pypy/module/_stackless/interp_greenlet.py
==============================================================================
--- pypy/dist/pypy/module/_stackless/interp_greenlet.py (original)
+++ pypy/dist/pypy/module/_stackless/interp_greenlet.py Wed Dec 13 22:17:28 2006
@@ -103,8 +103,6 @@
self.costate.operr = None
raise operr
args_w, kwds_w = self.costate.__args__.unpack()
- if args_w is None:
- return self.space.w_None
if len(args_w) == 1:
return args_w[0]
return self.space.newtuple(args_w)
More information about the Pypy-commit
mailing list