Skip to content

Commit 5ce5dad

Browse files
committed
pep8
1 parent 9341735 commit 5ce5dad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unpythonic/it.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,14 +640,16 @@ def primes():
640640
y0 = next(it)
641641
except StopIteration:
642642
return False
643-
if y0 == x: return True
643+
if y0 == x:
644+
return True
644645
yj = y0
645646
while yj == y0:
646647
try:
647648
yj = next(it)
648649
except StopIteration:
649650
return False
650-
if yj == x: return True
651+
if yj == x:
652+
return True
651653
d = yj - y0
652654
assert d != 0
653655
pred = (lambda elt: elt <= x) if d > 0 else (lambda elt: elt >= x)

0 commit comments

Comments
 (0)