Salome HOME
Merge Python 3 porting.
[modules/smesh.git] / doc / salome / examples / quality_controls_ex08.py
index 8a98910e579b0a674c7fba986614c9378ce36d91..157bf5f8cafd7ddf592d1ba3ba6c81ce0a615c86 100644 (file)
@@ -25,7 +25,7 @@ mesh.AutomaticHexahedralization();
 
 # remove half of mesh faces from the smallest face
 faceFaces = mesh.GetSubMeshElementsId(face)
-faceToRemove = faceFaces[: len(faceFaces)/2]
+faceToRemove = faceFaces[: len(faceFaces) // 2]
 mesh.RemoveElements( faceToRemove )
 
 # make a group of volumes missing the removed faces