diff pytouhou/ui/opengl/gamerenderer.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 6c9d8a3d853f
children 19d930f9e3f0
line wrap: on
line diff
--- a/pytouhou/ui/opengl/gamerenderer.pyx
+++ b/pytouhou/ui/opengl/gamerenderer.pyx
@@ -229,7 +229,7 @@ cdef class GameRenderer(Renderer):
 
         black = Color(0, 0, 0, 255)
 
-        for label in texts.itervalues():
+        for label in texts.values():
             texture = (<Texture>label.texture).texture
             rect = Rect(label.x, label.y, label.width, label.height)
             gradient = [Color(*color, a=label.alpha) for color in label.gradient]