Skip to content

Commit

Permalink
Merge pull request #361 from camabeh/patch-1
Browse files Browse the repository at this point in the history
Update curry.rst
  • Loading branch information
eriknw committed Jan 27, 2017
2 parents c32d700 + 775b218 commit 9035e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/curry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ higher order function from ``functools``. Currying provides syntactic sugar.
.. code::
>>> double = partial(mul, 2) # Partial evaluation
>>> double = mul(2) # Currying
>>> doubled = double(2) # Currying
This syntactic sugar is valuable when developers chain several higher order
functions together.
Expand Down

0 comments on commit 9035e76

Please sign in to comment.