Skip to content

Commit 06b10a3

Browse files
authored
Merge pull request #40 from alxwr/fix-iteritems
iteritems() -> items() (Python 3.6)
2 parents c0a3aa8 + 30994fc commit 06b10a3

File tree

1 file changed

+1
-1
lines changed
  • vim/files/pyflakes/ftplugin/python/pyflakes/pyflakes

1 file changed

+1
-1
lines changed

vim/files/pyflakes/ftplugin/python/pyflakes/pyflakes/checker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def checkUnusedAssignments():
557557
"""
558558
Check to see if any assignments have not been used.
559559
"""
560-
for name, binding in self.scope.iteritems():
560+
for name, binding in self.scope.items():
561561
if (not binding.used and not name in self.scope.globals
562562
and isinstance(binding, Assignment)):
563563
self.report(messages.UnusedVariable,

0 commit comments

Comments
 (0)