mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
Use string.ascii_lowercase instead of string.lowercase
Fixes https://github.com/davidhalter/jedi-vim/issues/478. Closes https://github.com/davidhalter/jedi-vim/pull/480.
This commit is contained in:
@@ -258,7 +258,7 @@ def goto(mode="goto", no_output=False):
|
|||||||
tagname = d.name
|
tagname = d.name
|
||||||
while vim_eval('taglist("^%s$")' % tagname) != []:
|
while vim_eval('taglist("^%s$")' % tagname) != []:
|
||||||
tagname = d.name + ' ' + ''.join(
|
tagname = d.name + ' ' + ''.join(
|
||||||
[random.choice(string.lowercase)
|
[random.choice(string.ascii_lowercase)
|
||||||
for _ in range(4)])
|
for _ in range(4)])
|
||||||
f.write('{0}\t{1}\t{2}'.format(tagname, d.module_path,
|
f.write('{0}\t{1}\t{2}'.format(tagname, d.module_path,
|
||||||
'call cursor({0}, {1})'.format(d.line, d.column + 1)))
|
'call cursor({0}, {1})'.format(d.line, d.column + 1)))
|
||||||
|
|||||||
Reference in New Issue
Block a user