fix for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2c5eb13b5c
commit
bcc01f061f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
from li_factory import *
|
from li_factory import *
|
||||||
|
|
||||||
circle = Geometry.create(Geometry.CIRCLE)
|
circle = Geometry_create(Geometry.CIRCLE)
|
||||||
r = circle.radius()
|
r = circle.radius()
|
||||||
if (r != 1.5):
|
if (r != 1.5):
|
||||||
raise RuntimeError
|
raise RuntimeError
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue