##// END OF EJS Templates
Add a TODO comment to remember to narrow `global_matches` type
Michał Krassowski -
Show More
@@ -2353,6 +2353,7 b' class IPCompleter(Completer):'
2353 return _convert_matcher_v1_result_to_v2(matches, type="attribute")
2353 return _convert_matcher_v1_result_to_v2(matches, type="attribute")
2354 else:
2354 else:
2355 matches = self.global_matches(context.token)
2355 matches = self.global_matches(context.token)
2356 # TODO: maybe distinguish between functions, modules and just "variables"
2356 return _convert_matcher_v1_result_to_v2(matches, type="variable")
2357 return _convert_matcher_v1_result_to_v2(matches, type="variable")
2357
2358
2358 @completion_matcher(api_version=1)
2359 @completion_matcher(api_version=1)
General Comments 0
You need to be logged in to leave comments. Login now