[pypy-svn] r14759 - pypy/dist/pypy/interpreter

hpk at codespeak.net hpk at codespeak.net
Tue Jul 19 12:07:16 CEST 2005


Author: hpk
Date: Tue Jul 19 12:07:15 2005
New Revision: 14759

Modified:
   pypy/dist/pypy/interpreter/function.py
Log:
- remove unused import 
- cosmetics


Modified: pypy/dist/pypy/interpreter/function.py
==============================================================================
--- pypy/dist/pypy/interpreter/function.py	(original)
+++ pypy/dist/pypy/interpreter/function.py	Tue Jul 19 12:07:15 2005
@@ -8,7 +8,6 @@
 
 from pypy.interpreter.error import OperationError
 from pypy.interpreter.baseobjspace import Wrappable
-from pypy.interpreter.argument import Arguments
 from pypy.interpreter.eval import Code
 from pypy.interpreter.gateway import NoneNotWrapped
 
@@ -50,7 +49,8 @@
 
     # unwrapping is done through unwrap_specs in typedef.py
 
-    def descr_method__new__(space, w_subtype, w_code, w_globals, w_name=None, w_argdefs=None, w_closure=NoneNotWrapped):
+    def descr_method__new__(space, w_subtype, w_code, w_globals, 
+                            w_name=None, w_argdefs=None, w_closure=NoneNotWrapped):
         code = space.interpclass_w(w_code)
         if code is None or not isinstance(code, Code):
             raise OperationError(space.w_TypeError, space.wrap("expected code"))



More information about the Pypy-commit mailing list