From cc9bebfae00f1dac7c3d45be49b02e7011c54863 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Fri, 24 Mar 2017 10:27:15 +0100 Subject: [PATCH] Python3: doc example --- doc/salome/examples/blsurfdemo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/salome/examples/blsurfdemo.py b/doc/salome/examples/blsurfdemo.py index 75221c1..e78717d 100644 --- a/doc/salome/examples/blsurfdemo.py +++ b/doc/salome/examples/blsurfdemo.py @@ -72,8 +72,8 @@ algo2d.SetEnforcedVertex(Face_1, 150, 150, 150) # Retrieve and print the list of enforced vertices defines on Face_1 enfList = algo2d.GetEnforcedVertices(Face_1) -print "List of enforced vertices for Face_1: " -print enfList +print("List of enforced vertices for Face_1: ") +print(enfList) # compute the mesh cadsurfMesh.Compute() @@ -81,8 +81,8 @@ cadsurfMesh.Compute() # Remove an enforced vertex and print the list algo2d.UnsetEnforcedVertex(Face_1, 50, 50, 50) enfList = algo2d.GetEnforcedVertices(Face_1) -print "List of enforced vertices for Face_1: " -print enfList +print("List of enforced vertices for Face_1: ") +print(enfList) # compute the mesh cadsurfMesh.Compute() -- 2.39.2