[pypy-svn] r46349 - pypy/dist/pypy/objspace/flow

arigo at codespeak.net arigo at codespeak.net
Wed Sep 5 18:14:02 CEST 2007


Author: arigo
Date: Wed Sep  5 18:14:01 2007
New Revision: 46349

Modified:
   pypy/dist/pypy/objspace/flow/objspace.py
Log:
Oups, there is a test for this function.
Keep the old signature valid.


Modified: pypy/dist/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/objspace.py	(original)
+++ pypy/dist/pypy/objspace/flow/objspace.py	Wed Sep  5 18:14:01 2007
@@ -563,7 +563,7 @@
                 OverflowError) # for the float case
 del _add_exceptions, _add_except_ovf
 
-def extract_cell_content(c, varname, func):
+def extract_cell_content(c, varname='?', func='?'):
     """Get the value contained in a CPython 'cell', as read through
     the func_closure of a function object."""
     # yuk! this is all I could come up with that works in Python 2.2 too



More information about the Pypy-commit mailing list