change runtime examples to run with old python versions

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-11 23:06:15 +00:00
commit 00c8d50988
7 changed files with 19 additions and 19 deletions

View file

@ -1,12 +1,12 @@
import li_std_wstream as std
from li_std_wstream import *
a = std.A()
a = A()
o = std.wostringstream()
o = wostringstream()
o << a << u" " << 2345 << u" " << 1.435 << std.wends
o << a << u" " << 2345 << u" " << 1.435 << wends
if o.str() != "A class 2345 1.435\0":
print "\"%s\"" % (o.str(),)