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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 23 11:23:07 PDT 2015

zturner 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)
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