[pypy-svn] r31406 - pypy/dist/pypy/module/rctime

rhymes at codespeak.net rhymes at codespeak.net
Sat Aug 19 16:41:46 CEST 2006


Author: rhymes
Date: Sat Aug 19 16:41:44 2006
New Revision: 31406

Modified:
   pypy/dist/pypy/module/rctime/interp_time.py
Log:
two unwrap_spec lost in the void

Modified: pypy/dist/pypy/module/rctime/interp_time.py
==============================================================================
--- pypy/dist/pypy/module/rctime/interp_time.py	(original)
+++ pypy/dist/pypy/module/rctime/interp_time.py	Sat Aug 19 16:41:44 2006
@@ -178,6 +178,7 @@
         secs = space.float_w(w_secs)
         _check_float(space, secs)
         space.wrap(_float_sleep(space, secs))
+    sleep.unwrap_spec = [ObjSpace, int]
 
 def _check_float(space, seconds):
     # this call the app level _check_float to check the type of
@@ -267,6 +268,7 @@
     
     secs = _floattime()
     return space.wrap(secs)
+time.unwrap_spec = [ObjSpace]
 
 def clock(space):
     """clock() -> floating point number
@@ -294,6 +296,7 @@
         windll.kernel32.QueryPerformanceCounter(byref(now))
         diff = float(now.value - ctrStart.value)
         return space.wrap(float(diff / divisor))
+clock.unwrap_spec = [ObjSpace]
 
 def ctime(space, w_seconds=None):
     """ctime([seconds]) -> string



More information about the Pypy-commit mailing list