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

Commit

Permalink
trac 24409 removing .keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Dec 21, 2017
1 parent 3f46b40 commit a7dbdff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/polynomial/polydict.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ cdef class PolyDict:
"""
n = len(vars)
poly = ""
E = list(self.__repn.keys())
E = list(self.__repn)
if sortkey:
E.sort(key=sortkey, reverse=True)
else:
Expand Down Expand Up @@ -535,7 +535,7 @@ cdef class PolyDict:
"""
n = len(vars)
poly = ""
E = list(self.__repn.keys())
E = list(self.__repn)
if sortkey:
E.sort(key=sortkey, reverse=True)
else:
Expand Down

0 comments on commit a7dbdff

Please sign in to comment.