1
0
forked from VimPlug/jedi

Few small issues.

This commit is contained in:
Dave Halter
2015-01-05 23:31:32 +01:00
parent 9cd8fabf2c
commit 65b33013e5
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -79,6 +79,8 @@ class NameFinder(object):
search_str = str(self.name_str)
try:
names = names_dict[search_str]
if not names: # There must be something in there otherwise stop.
return []
except KeyError:
return []
@@ -348,7 +350,7 @@ class NameFinder(object):
return result
@memoize_default(evaluator_is_first_arg=True)
@memoize_default([], evaluator_is_first_arg=True)
def _name_to_types(evaluator, name, scope):
types = []
typ = name.get_definition()