<!--
- Copyright (C) 2006-2008 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
License as published by the Free Software Foundation; either
- version 2.1 of the License.
+ version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
<!--nodes -->
<datanode name="s" kind="study" >
- <property name="StudyID" value="1" />
<parameter name="b" type="FIELDDOUBLE" ref="0:1:1:3:2:1"/>
</datanode>
<datanode name="d" >
<script>
<code>import SALOME_MED</code>
<code>p1=p1._narrow(SALOME_MED.FIELD)</code>
- <code>print p1</code>
+ <code>print(p1)</code>
</script>
<inport name="p1" type="FIELDDOUBLE"/>
<outport name="p1" type="FIELDDOUBLE"/>
<inline name="pyth0" >
<script>
- <code>print "MEDFIELD:",p1</code>
+ <code>print (MEDFIELD:",p1)</code>
<code>p1.Register()</code>
</script>
<inport name="p1" type="FIELDDOUBLE"/>
<inline name="pyth1" >
<script>
- <code>print "MEDFIELD:",p1</code>
+ <code>print("MEDFIELD:",p1)</code>
</script>
<inport name="p1" type="FIELDDOUBLE"/>
</inline>