Salome HOME
bos #26594 Failed KERNEL test: fix typemap for swig 4x
[modules/yacs.git] / src / yacsloader / samples / bloc4.xml
index 72f74bba998bdb31f8ede0ec64ed66bef114fbb6..1278f774b8e7bf759c9165b8378241d940ab2166 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+  Copyright (C) 2006-2019  CEA/DEN, EDF R&D
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -51,7 +51,7 @@
         <inline name="node2" >
                 <function name="f">
                     <code>def f(s1):</code>
-                    <code>  print s1 </code>
+                    <code>  print(s1) </code>
                     <code>  return s1 </code>
                 </function>
                 <inport name="s1" type="dblevec"/>
@@ -61,7 +61,7 @@
             <inline name="node1" >
                 <function name="f">
                     <code>def f(p1):</code>
-                    <code>  print p1;p1=2*p1 </code>
+                    <code>  print(p1);p1=2*p1 </code>
                     <code>  return p1 </code>
                 </function>
                 <inport name="p1" type="string"/>