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 committed 2014-02-13 19:22:36 +01:00
1 parent 660a29ef93
commit 600371632f
7 files changed
+34 -18

No files matched your search

+1 -1
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):