When using list comprehension in a method, variables assigned inside the comprehension is listed twice in the symbol list / outline view. Same happens when isinstance method is used inside a method.