[pypy-svn] r55618 - pypy/dist/pypy/module/_lsprof

fijal at codespeak.net fijal at codespeak.net
Fri Jun 6 03:06:09 CEST 2008


Author: fijal
Date: Fri Jun  6 03:06:09 2008
New Revision: 55618

Modified:
   pypy/dist/pypy/module/_lsprof/interp_lsprof.py
Log:
Typo


Modified: pypy/dist/pypy/module/_lsprof/interp_lsprof.py
==============================================================================
--- pypy/dist/pypy/module/_lsprof/interp_lsprof.py	(original)
+++ pypy/dist/pypy/module/_lsprof/interp_lsprof.py	Fri Jun  6 03:06:09 2008
@@ -3,7 +3,7 @@
                                            Arguments)
 from pypy.interpreter.typedef import (TypeDef, GetSetProperty,
                                       interp_attrproperty)
-from pypy.interpreter.gateway import interp2app
+from pypy.interpreter.gateway import interp2app, NoneNotWrapped
 import time, sys
 
 class W_StatsEntry(Wrappable):
@@ -215,7 +215,7 @@
         return stats(space, self.data, factor)
     getstats.unwrap_spec = ['self', ObjSpace]
 
-def descr_new_profile(space, w_type, w_callable=None, time_unit=0.0,
+def descr_new_profile(space, w_type, w_callable=NoneNotWrapped, time_unit=0.0,
                       subcalls=True, builtins=True):
     p = space.allocate_instance(W_Profiler, w_type)
     p.__init__(space, w_callable, time_unit, subcalls, builtins)



More information about the Pypy-commit mailing list