diff options
Diffstat (limited to 'Lib/compiler/misc.py')
-rw-r--r-- | Lib/compiler/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/misc.py b/Lib/compiler/misc.py index 588c7fb..b32d0dc 100644 --- a/Lib/compiler/misc.py +++ b/Lib/compiler/misc.py @@ -18,7 +18,7 @@ class Set: def add(self, elt): self.elts[elt] = elt def elements(self): - return self.elts.keys() + return list(self.elts.keys()) def has_elt(self, elt): return elt in self.elts def remove(self, elt): |