Author: Benjamin Peterson <[email protected]>
Branch: 
Changeset: r54064:9ae198609e0b
Date: 2012-03-29 08:54 -0400
http://bitbucket.org/pypy/pypy/changeset/9ae198609e0b/

Log:    be more specific

diff --git a/pypy/rpython/lltypesystem/rstr.py 
b/pypy/rpython/lltypesystem/rstr.py
--- a/pypy/rpython/lltypesystem/rstr.py
+++ b/pypy/rpython/lltypesystem/rstr.py
@@ -767,7 +767,7 @@
         assert start >= 0
         # If start > stop, return a empty string. This can happen if the start
         # is greater than the length of the string. Use < instead of <= to 
avoid
-        # creating another path for the JIT.
+        # creating another path for the JIT when start == stop.
         if lgt < 0:
             return s1.empty()
         newstr = s1.malloc(lgt)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to