We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c32d700 + 775b218 commit 9035e76Copy full SHA for 9035e76
doc/source/curry.rst
@@ -8,7 +8,7 @@ higher order function from ``functools``. Currying provides syntactic sugar.
8
.. code::
9
10
>>> double = partial(mul, 2) # Partial evaluation
11
- >>> double = mul(2) # Currying
+ >>> doubled = double(2) # Currying
12
13
This syntactic sugar is valuable when developers chain several higher order
14
functions together.
0 commit comments