[Lldb-commits] [PATCH] D14023: Fix uses of range / xrange for Python 3

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 24 08:01:48 PDT 2015

tfiala added inline comments.

Comment at: test/lang/go/types/TestGoASTContext.py:134
@@ -131,3 +133,3 @@
         self.assertEqual(5, v.GetNumChildren())
-        for i in xrange(5):
+        for i in six.moves.xrange(5):
             self.assertEqual(str(i + 1), v.GetChildAtIndex(i).value)
zturner wrote:
> Looks like I missed this one.  I'll put this one back to `list(range(5))` before comitting.


More information about the lldb-commits mailing list