Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge Python 3 porting.
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex02.py
diff --git
a/doc/salome/examples/modifying_meshes_ex02.py
b/doc/salome/examples/modifying_meshes_ex02.py
index 64a783a27c4241ad38cc6fa358f46c1a54294064..78aff713cea8aac31396febc5023f18023115f70 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex02.py
+++ b/
doc/salome/examples/modifying_meshes_ex02.py
@@
-15,6
+15,6
@@
node_id = mesh.AddNode(50, 10, 0)
# add 0D Element
new_id = mesh.Add0DElement(node_id)
# add 0D Element
new_id = mesh.Add0DElement(node_id)
-print
""
-if new_id == 0: print
"KO node addition."
-else: print
"New 0D Element has been added with ID ", new_id
+print
("")
+if new_id == 0: print
("KO node addition.")
+else: print
("New 0D Element has been added with ID ", new_id)