# -*- coding: latin-1 -*-
-# Copyright (C) 2009-2014 CEA/DEN, EDF R&D
+# Copyright (C) 2009-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
used_vertices = []
-for i in xrange( doc.countUsedVertex() ):
+for i in range( doc.countUsedVertex() ):
vertex_i = doc.getUsedVertex(i)
used_vertices.append(vertex_i)