This appears to be a resurgence of #503 / #501, but in a very particular set of circumstances: However, one of the two entries fails the check isinstance(scls ...
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.