cython-devel

diff tests/run/r_jiba1.pyx @ 719:e21391d5f23a

quick work-around for PEP 3121 implementation in Py3 beta
author Stefan Behnel <scoder@users.berlios.de>
date Thu Jun 12 09:28:56 2008 +0200 (3 years ago)
parents 6309e21af543
children
line diff
1.1 --- a/tests/run/r_jiba1.pyx Wed May 14 23:54:22 2008 +0200 1.2 +++ b/tests/run/r_jiba1.pyx Thu Jun 12 09:28:56 2008 +0200 1.3 @@ -8,7 +8,7 @@ 1.4 cdef class Parrot: 1.5 1.6 cdef void describe(self): 1.7 - print "This parrot is resting." 1.8 + print u"This parrot is resting." 1.9 1.10 def describe_python(self): 1.11 self.describe() 1.12 @@ -16,7 +16,7 @@ 1.13 cdef class Norwegian(Parrot): 1.14 1.15 cdef void describe(self): 1.16 - print "Lovely plumage!" 1.17 + print u"Lovely plumage!" 1.18 1.19 def test(): 1.20 cdef Parrot p1, p2