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

pedronis at codespeak.net pedronis at codespeak.net
Thu Apr 14 16:25:16 CEST 2005


Author: pedronis
Date: Thu Apr 14 16:25:16 2005
New Revision: 10620

Modified:
   pypy/dist/pypy/annotation/builtin.py
Log:
xxx annotation for unicodedata.decimal



Modified: pypy/dist/pypy/annotation/builtin.py
==============================================================================
--- pypy/dist/pypy/annotation/builtin.py	(original)
+++ pypy/dist/pypy/annotation/builtin.py	Thu Apr 14 16:25:16 2005
@@ -161,6 +161,8 @@
         getbookkeeper().warning("ovfcheck_lshift with unsigned")
     return SomeInteger()
 
+def unicodedata_decimal(s_uchr):
+    return SomeInteger()
 
 # collect all functions
 import __builtin__
@@ -182,4 +184,6 @@
 
 BUILTIN_ANALYZERS[sys.getrefcount] = count
 BUILTIN_ANALYZERS[sys.getdefaultencoding] = conf
+import unicodedata
+BUILTIN_ANALYZERS[unicodedata.decimal] = unicodedata_decimal # xxx
 



More information about the Pypy-commit mailing list