[pypy-commit] pypy default: fix newbool @signature

bdkearns noreply at buildbot.pypy.org
Fri Mar 22 11:33:26 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
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


More information about the pypy-commit mailing list