forked from VimPlug/jedi
Remove a lot more Python 2 mentions and todos
This commit is contained in:
@@ -272,9 +272,8 @@ def get_module_contexts_containing_name(inference_state, module_contexts, name,
|
||||
return
|
||||
|
||||
file_io_iterator = _find_python_files_in_sys_path(inference_state, module_contexts)
|
||||
for x in search_in_file_ios(inference_state, file_io_iterator, name,
|
||||
limit_reduction=limit_reduction):
|
||||
yield x # Python 2...
|
||||
yield from search_in_file_ios(inference_state, file_io_iterator, name,
|
||||
limit_reduction=limit_reduction)
|
||||
|
||||
|
||||
def search_in_file_ios(inference_state, file_io_iterator, name, limit_reduction=1):
|
||||
|
||||
Reference in New Issue
Block a user