-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
Can't remove the blank line at pylint-dev/pylint@f5b85a2#r838122809
@staticmethod
def _has_homonym_in_comprehension_test(node: nodes.Name) -> bool:
"""
Return True if `node`'s frame contains a comprehension having
an "if" test employing an identical name. The use of the name
in the if test could come in several levels of nesting:
Examples:
[x for x in range(3) if name]
[x for x in range(3) if name.num == 1]
[x for x in range(3)] if call(name.num)]
"""Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested