[pypy-svn] r13376 - pypy/branch/pycompiler/annotation

adim at codespeak.net adim at codespeak.net
Tue Jun 14 11:33:42 CEST 2005


Author: adim
Date: Tue Jun 14 11:33:41 2005
New Revision: 13376

Modified:
   pypy/branch/pycompiler/annotation/unaryop.py
Log:
added str.find() annotation capability to be able to translate / annotate pythonlexer.match_encoding_declaration

Modified: pypy/branch/pycompiler/annotation/unaryop.py
==============================================================================
--- pypy/branch/pycompiler/annotation/unaryop.py	(original)
+++ pypy/branch/pycompiler/annotation/unaryop.py	Tue Jun 14 11:33:41 2005
@@ -274,6 +274,9 @@
     def method_join(str, s_list):
         return SomeString()
 
+    def method_find(str, frag):
+        return SomeInteger()
+
     def iter(str):
         return SomeIterator(SomeChar())
 



More information about the Pypy-commit mailing list