summaryrefslogtreecommitdiffstats
path: root/Misc/Vim/vim_syntax.py
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/Vim/vim_syntax.py')
-rw-r--r--Misc/Vim/vim_syntax.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/Vim/vim_syntax.py b/Misc/Vim/vim_syntax.py
index 55dd277..c43d226 100644
--- a/Misc/Vim/vim_syntax.py
+++ b/Misc/Vim/vim_syntax.py
@@ -139,7 +139,7 @@ def fill_stmt(iterable, fill_len):
overflow = None
while total_len < fill_len:
try:
- new_item = it.next()
+ new_item = next(it)
buffer_.append(new_item)
total_len += len(new_item) + 1
except StopIteration:
@@ -188,7 +188,7 @@ def main(file_path):
FILL - len(prefix) - len(indent))
try:
while True:
- print>>FILE, indent + prefix + stmt_iter.next()
+ print>>FILE, indent + prefix + next(stmt_iter)
except StopIteration:
print>>FILE, ''
else: