Skip to content

Commit 4b8498d

Browse files
committed
fix whitespace
1 parent 55d08a0 commit 4b8498d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

unpythonic/fun.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def iscurried(f):
457457

458458
def flip(f):
459459
"""Decorator: flip (reverse) the positional arguments of f."""
460-
@ wraps(f)
460+
@wraps(f)
461461
def flipped(*args, **kwargs):
462462
return maybe_force_args(f, *reversed(args), **kwargs)
463463
if islazy(f):
@@ -480,7 +480,7 @@ def rotate(k):
480480
assert (rotate(1)(identity))(1, 2, 3) == (2, 3, 1)
481481
"""
482482
def rotate_k(f):
483-
@ wraps(f)
483+
@wraps(f)
484484
def rotated(*args, **kwargs):
485485
n = len(args)
486486
if not n:
@@ -495,7 +495,7 @@ def rotated(*args, **kwargs):
495495
return rotated
496496
return rotate_k
497497

498-
@ passthrough_lazy_args
498+
@passthrough_lazy_args
499499
def apply(f, arg0, *more, **kwargs):
500500
"""Scheme/Racket-like apply.
501501
@@ -844,7 +844,7 @@ def to(*specs):
844844
"""
845845
return composeli(tokth(k, f) for k, f in specs)
846846

847-
@ register_decorator(priority=80)
847+
@register_decorator(priority=80)
848848
def withself(f):
849849
"""Decorator. Allow a lambda to refer to itself.
850850
@@ -869,7 +869,7 @@ def withself(f):
869869
assert fact(5) == 120
870870
fact(5000) # no crash
871871
"""
872-
@ wraps(f)
872+
@wraps(f)
873873
def fwithself(*args, **kwargs):
874874
#return f(fwithself, *args, **kwargs)
875875
return maybe_force_args(f, fwithself, *args, **kwargs) # support unpythonic.syntax.lazify

0 commit comments

Comments
 (0)