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.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results