Skip to content

Commit

Permalink
Merge pull request #70 from alphaho/fix-typo
Browse files Browse the repository at this point in the history
Fix the typo for docstrings in __rshift__ and __lshift__ of F, thanks to @alphaho
  • Loading branch information
kachayev committed Oct 13, 2014
2 parents 2652d6d + 6a3e0f0 commit df53f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fn/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ def __ensure_callable(self, f):
return self.__class__(*f) if isinstance(f, tuple) else f

def __rshift__(self, g):
"""Overload << operator for F instances"""
"""Overload >> operator for F instances"""
return self.__class__.__compose(self.__ensure_callable(g), self.f)

def __lshift__(self, g):
"""Overload >> operator for F instances"""
"""Overload << operator for F instances"""
return self.__class__.__compose(self.f, self.__ensure_callable(g))

def __call__(self, *args, **kwargs):
Expand Down

0 comments on commit df53f5d

Please sign in to comment.