# -*- 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_hexas = []
-for i in xrange( doc.countUsedHexa() ):
+for i in range( doc.countUsedHexa() ):
hexa_i = doc.getUsedHexa(i)
used_hexas.append(hexa_i)