kachayev/fn.py — pull request #75 by cad106uk (2014-11-30 12:14:36+00:00)
Title: Curried bug second attempt

Following on from pull request 74. I have closed 74 and made this new pull request

I have limited the my pep8'ing to just the func.py file, where I have made 2 separate commits. One to fix the white spacing and one to fix the unused import. (Purely to appease my OCD)

I have made a new unit test to show exactly which bit of the curried functions where not be wrapped correct by the functools when creating a decorator.

I have applied the same bugfix as before, to use the functools to fix this problem.

The test run.

I hope that covers everything from your feedback.

Thank you.