Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r62654:e094bfb176b7
Date: 2013-03-22 06:33 -0400
http://bitbucket.org/pypy/pypy/changeset/e094bfb176b7/

Log:    fix newbool @signature

diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -699,7 +699,7 @@
                 raise
             return None
 
-    @signature(types.bool(), returns=types.instance(W_Root))
+    @signature(types.any(), types.bool(), returns=types.instance(W_Root))
     def newbool(self, b):
         if b:
             return self.w_True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to