# -*- coding: latin-1 -*-
-# Copyright (C) 2009-2015 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_quads = []
-for i in xrange( doc.countUsedQuad() ):
+for i in range( doc.countUsedQuad() ):
quad_i = doc.getUsedQuad(i)
used_quads.append(quad_i)