summaryrefslogtreecommitdiff
path: root/Tools/scripts/cleanfuture.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/cleanfuture.py')
-rw-r--r--Tools/scripts/cleanfuture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/cleanfuture.py b/Tools/scripts/cleanfuture.py
index 0e90cd3d22..6ee93e6ebd 100644
--- a/Tools/scripts/cleanfuture.py
+++ b/Tools/scripts/cleanfuture.py
@@ -162,7 +162,7 @@ class FutureFinder:
OP = tokenize.OP
changed = self.changed
- get = tokenize.generate_tokens(self.getline).next
+ get = tokenize.generate_tokens(self.getline).__next__
type, token, (srow, scol), (erow, ecol), line = get()
# Chew up initial comments and blank lines (if any).