1
0
forked from VimPlug/jedi

python 2.5 compatibility, use for loop, not the next function

This commit is contained in:
David Halter
2012-09-04 18:22:11 +02:00
parent 268196086b
commit cf953c9d02

View File

@@ -13,8 +13,9 @@ c.match().start()
#? int()
re.match(r'a', 'a').start()
#? int()
next(re.finditer('a', 'a')).start()
for a in re.finditer('a', 'a'):
#? int()
a.start()
#? str()
re.sub('a', 'a')