Skip to content

Commit df53f5d

Browse files
committed
Merge pull request #70 from alphaho/fix-typo
Fix the typo for docstrings in __rshift__ and __lshift__ of F, thanks to @alphaho
2 parents 2652d6d + 6a3e0f0 commit df53f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fn/func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def __ensure_callable(self, f):
4040
return self.__class__(*f) if isinstance(f, tuple) else f
4141

4242
def __rshift__(self, g):
43-
"""Overload << operator for F instances"""
43+
"""Overload >> operator for F instances"""
4444
return self.__class__.__compose(self.__ensure_callable(g), self.f)
4545

4646
def __lshift__(self, g):
47-
"""Overload >> operator for F instances"""
47+
"""Overload << operator for F instances"""
4848
return self.__class__.__compose(self.f, self.__ensure_callable(g))
4949

5050
def __call__(self, *args, **kwargs):

0 commit comments

Comments
 (0)