Skip to content

Commit 457aefd

Browse files
committed
Python3: fix iteritems
1 parent 714276c commit 457aefd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/combinat/recognizable_series.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
# http://www.gnu.org/licenses/
7474
#*****************************************************************************
7575
from __future__ import absolute_import
76+
from six import iteritems
7677

7778
from sage.misc.cachefunc import cached_method
7879
from sage.misc.superseded import experimental
@@ -333,7 +334,7 @@ def immutable(m):
333334
return m
334335

335336
if isinstance(mu, dict):
336-
mu = dict((a, immutable(M)) for a, M in mu.iteritems())
337+
mu = dict((a, immutable(M)) for a, M in iteritems(mu))
337338
mu = Family(mu)
338339

339340
if not mu.is_finite():

0 commit comments

Comments
 (0)