diff pytouhou/game/text.pxd @ 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 b895ed2de71f
children a6af3ff86612
line wrap: on
line diff
--- a/pytouhou/game/text.pxd
+++ b/pytouhou/game/text.pxd
@@ -35,7 +35,7 @@ cdef class Text(GlyphCollection):
     cdef Interpolator fade_interpolator
     cdef unsigned char alpha
 
-    cpdef set_text(self, bytes text)
+    cpdef set_text(self, text)
     #def timeout_update(self)
     #def move_timeout_update(self)
     #def fadeout_timeout_update(self)
@@ -60,7 +60,7 @@ cdef class NativeText(Element):
     cdef public object update
 
     cdef unicode text
-    cdef bytes align #TODO: use a proper enum.
+    cdef str align #TODO: use a proper enum.
     cdef unsigned long frame, timeout, duration, start
     cdef double to[2]
     cdef double end[2]