diff pytouhou/game/sprite.pyx @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents dacdcca59b66
children 98603f2c32b4
line wrap: on
line diff
--- a/pytouhou/game/sprite.pyx
+++ b/pytouhou/game/sprite.pyx
@@ -57,7 +57,7 @@ cdef class Sprite:
 
         # Cython treats unsigned char* variables as bytes, so we can’t use
         # slicing here.
-        for i in xrange(4):
+        for i in range(4):
             self._color[i] = 255