Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r75360:0fa14047a55c
Date: 2015-01-15 18:25 +0200
http://bitbucket.org/pypy/pypy/changeset/0fa14047a55c/

Log:    fix the signature

diff --git a/pypy/module/_vmprof/interp_vmprof.py 
b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -218,9 +218,9 @@
 
 _vmprof = VMProf()
 
-@unwrap_spec(filename=str, period=int)
-def enable(space, filename, period=-1):
-    _vmprof.enable(space, filename, period)
+@unwrap_spec(fileno=int, symno=int, period=int)
+def enable(space, fileno, symno, period=-1):
+    _vmprof.enable(space, fileno, symno, period)
 
 def disable(space):
     _vmprof.disable(space)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to