1
0
forked from VimPlug/jedi

Also don't cast do a string for other names

This commit is contained in:
Dave Halter
2017-12-26 15:44:00 +01:00
parent 8a82a5237d
commit 7e063ff7af

View File

@@ -163,7 +163,7 @@ class AbstractUsedNamesFilter(AbstractFilter):
def get(self, name):
try:
names = self._used_names[str(name)]
names = self._used_names[name]
except KeyError:
return []
@@ -266,7 +266,7 @@ class DictFilter(AbstractFilter):
def get(self, name):
try:
value = self._convert(name, self._dct[str(name)])
value = self._convert(name, self._dct[name])
except KeyError:
return []