[pypy-svn] r18749 - pypy/dist/pypy/annotation

arigo at codespeak.net arigo at codespeak.net
Wed Oct 19 14:11:48 CEST 2005


Author: arigo
Date: Wed Oct 19 14:11:47 2005
New Revision: 18749

Modified:
   pypy/dist/pypy/annotation/unaryop.py
Log:
Forgot to check this in with rev 18733.


Modified: pypy/dist/pypy/annotation/unaryop.py
==============================================================================
--- pypy/dist/pypy/annotation/unaryop.py	(original)
+++ pypy/dist/pypy/annotation/unaryop.py	Wed Oct 19 14:11:47 2005
@@ -609,6 +609,9 @@
         setattr(r.ootype._example(), s_attr.const,
                 v._example())
 
+    def is_true(p):
+        return SomeBool()
+
 class __extend__(SomeOOBoundMeth):
     def simple_call(m, *args_s):
         llargs = [annotation_to_lltype(arg_s)._example() for arg_s in args_s]



More information about the Pypy-commit mailing list