# -*- coding: latin-1 -*-
-# Copyright (C) 2009-2016 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_edges = []
-for i in xrange( doc.countUsedEdge() ):
+for i in range( doc.countUsedEdge() ):
edge_i = doc.getUsedEdge(i)
used_edges.append(edge_i)