Skip to content

Commit fa9812b

Browse files
myintsigmavirus24
authored andcommitted
Remove unnecessary else (#439)
1 parent e422e53 commit fa9812b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyflakes/checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ def name_is_typing_overload(name): # type: (str) -> bool
624624
isinstance(scope[name], ImportationFrom) and
625625
scope[name].fullName == 'typing.overload'
626626
)
627-
else:
628-
return False
627+
628+
return False
629629

630630
def is_typing_overload_decorator(node):
631631
return (

0 commit comments

Comments
 (0)