[pypy-svn] r72790 - pypy/trunk/pypy/doc

arigo at codespeak.net arigo at codespeak.net
Thu Mar 25 12:29:31 CET 2010


Author: arigo
Date: Thu Mar 25 12:29:29 2010
New Revision: 72790

Modified:
   pypy/trunk/pypy/doc/coding-guide.txt
Log:
Clarification.


Modified: pypy/trunk/pypy/doc/coding-guide.txt
==============================================================================
--- pypy/trunk/pypy/doc/coding-guide.txt	(original)
+++ pypy/trunk/pypy/doc/coding-guide.txt	Thu Mar 25 12:29:29 2010
@@ -241,11 +241,17 @@
 
 We are using
 
-**integer, float, string, boolean**
+**integer, float, boolean**
 
-  a lot of, but not all string methods are supported. When slicing a string
-  it is necessary to prove that the slice start and stop indexes are
-  non-negative.
+  works.
+
+**strings**
+
+  a lot of, but not all string methods are supported.  Indexes can be
+  negative.  In case they are not, then you get slightly more efficient
+  code if the translator can prove that they are non-negative.  When
+  slicing a string it is necessary to prove that the slice start and
+  stop indexes are non-negative.
 
 **tuples**
 



More information about the Pypy-commit mailing list