1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-16 02:53:33 +02:00

Removed iteritems and itervalues, which are redundant

This commit is contained in:
2020-04-21 18:20:08 +02:00
parent 9e076e0af4
commit 3234e4de27
82 changed files with 382 additions and 457 deletions

View File

@@ -1,5 +1,4 @@
from collections import OrderedDict
from ebook_converter.polyglot.builtins import iteritems
__license__ = 'GPL v3'
@@ -54,7 +53,7 @@ class Footnotes(object):
return None, None
def __iter__(self):
for anchor, (counter, note) in iteritems(self.notes):
for anchor, (counter, note) in self.notes.items():
yield anchor, counter, note
@property