1
0
forked from VimPlug/jedi

NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts

This commit is contained in:
Dave Halter
2014-02-13 19:22:36 +01:00
parent 660a29ef93
commit 600371632f
7 changed files with 34 additions and 18 deletions

View File

@@ -148,7 +148,7 @@ class Script(object):
comps = []
comp_dct = {}
for c, s in set(completions):
n = c.names[-1]
n = str(c.names[-1])
if settings.case_insensitive_completion \
and n.lower().startswith(like.lower()) \
or n.startswith(like):