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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user