Salome HOME
[PY3] Fix m4 macro for python 3
[modules/kernel.git] / doc / salome / examples / example15
index 42493fe019816b4fa378f952a735d3767d693bcc..4ba2ec4d5f8c02af4bde476d823ebb43cc55073a 100644 (file)
@@ -9,7 +9,7 @@ A = A._narrow(SALOMEDS.AttributeLocalID)
 A.SetValue(763242882)
 
 if A.Value() != 763242882:
-        print "Error: wrong value of AttributeLocalID"
+        print("Error: wrong value of AttributeLocalID")
 
 #      save / restore study      
 #=================================
@@ -39,5 +39,5 @@ if res == 0 or A == None:
 A = A._narrow(SALOMEDS.AttributeLocalID)
 
 if A.Value() != 763242882:
-        print "Error: wrong value of AttributeLocalID"
+        print("Error: wrong value of AttributeLocalID")