forked from VimPlug/jedi
python 2.5 compatibility, use for loop, not the next function
This commit is contained in:
@@ -13,8 +13,9 @@ c.match().start()
|
|||||||
#? int()
|
#? int()
|
||||||
re.match(r'a', 'a').start()
|
re.match(r'a', 'a').start()
|
||||||
|
|
||||||
#? int()
|
for a in re.finditer('a', 'a'):
|
||||||
next(re.finditer('a', 'a')).start()
|
#? int()
|
||||||
|
a.start()
|
||||||
|
|
||||||
#? str()
|
#? str()
|
||||||
re.sub('a', 'a')
|
re.sub('a', 'a')
|
||||||
|
|||||||
Reference in New Issue
Block a user