Replacing the types list with a types set. Some tests are failing, though.
This commit is contained in:
1 parent
bf3fa11f6f
commit
844a011193
13 files changed
+166
-163
No files matched your search
@@ -176,11 +176,11 @@ def _execute_array_values(evaluator, array):
|
||||
def follow_param(evaluator, param):
|
||||
func = param.parent_function
|
||||
|
||||
return [p
|
||||
for param_str in _search_param_in_docstr(func.raw_doc,
|
||||
str(param.name))
|
||||
return set(
|
||||
[p for param_str in _search_param_in_docstr(func.raw_doc,
|
||||
str(param.name))
|
||||
for p in _evaluate_for_statement_string(evaluator, param_str,
|
||||
param.get_parent_until())]
|
||||
param.get_parent_until())])
|
||||
|
||||
|
||||
@memoize_default(None, evaluator_is_first_arg=True)
|
||||
|
||||
Reference in new issue
Block a user