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

arigo at codespeak.net arigo at codespeak.net
Thu Apr 7 18:09:43 CEST 2005


Author: arigo
Date: Thu Apr  7 18:09:43 2005
New Revision: 10409

Modified:
   pypy/dist/pypy/annotation/bookkeeper.py
Log:
Missing float support in the annotator's valueoftype().



Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py	(original)
+++ pypy/dist/pypy/annotation/bookkeeper.py	Thu Apr  7 18:09:43 2005
@@ -166,6 +166,8 @@
             return SomeInteger()
         elif t is str:
             return SomeString()
+        elif t is float:
+            return SomeFloat()
         elif t is list:
             return SomeList(factories={})
         # can't do dict, tuple



More information about the Pypy-commit mailing list