@@ -457,7 +457,7 @@ def iscurried(f):
457457
458458def 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
499499def 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 )
848848def 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