Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Python3: fix iteritems
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Jan 24, 2017
1 parent 714276c commit 457aefd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/combinat/recognizable_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
# http://www.gnu.org/licenses/
#*****************************************************************************
from __future__ import absolute_import
from six import iteritems

from sage.misc.cachefunc import cached_method
from sage.misc.superseded import experimental
Expand Down Expand Up @@ -333,7 +334,7 @@ def immutable(m):
return m

if isinstance(mu, dict):
mu = dict((a, immutable(M)) for a, M in mu.iteritems())
mu = dict((a, immutable(M)) for a, M in iteritems(mu))
mu = Family(mu)

if not mu.is_finite():
Expand Down

0 comments on commit 457aefd

Please sign in to comment.