Salome HOME
Merge Python 3 porting.
[modules/geom.git] / doc / salome / examples / check_self_intersections.py
index 49e83bcaac4798fe425941683cbfe7f9d5e2db80..c8aefd38359b2d9bf140e96a2073960d07f5d3e0 100644 (file)
@@ -16,6 +16,6 @@ compound = geompy.MakeCompound([box, cylinder])
 # check self-intersection
 IsValid = geompy.CheckSelfIntersections(compound)
 if not IsValid:
-    print "Shape is self-intersected!"
+    print("Shape is self-intersected!")
 else:
-    print "No self-intersection detected in a shape"
+    print("No self-intersection detected in a shape")