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:
parent
0969072b63
commit
00c8d50988
7 changed files with 19 additions and 19 deletions
|
|
@ -34,7 +34,7 @@ class PyClass(director_basic.MyClass):
|
|||
pass
|
||||
|
||||
def vmethod(self, b):
|
||||
b.x += 31
|
||||
b.x = b.x + 31
|
||||
return b
|
||||
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ class PyMulti(director_basic.Foo, director_basic.MyClass):
|
|||
|
||||
|
||||
def vmethod(self, b):
|
||||
b.x += 31
|
||||
b.x = b.x + 31
|
||||
return b
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue