Skip to content

Commit 2b7e7f9

Browse files
authored
Fix definition of g in very first example in docs (#3499)
`g` was defined as a single-argument function, but called with two.
1 parent 2fc20d8 commit 2b7e7f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Parsl lets you chain functions together and will launch each function as inputs
2323
return x + 1
2424
2525
@python_app
26-
def g(x):
27-
return x * 2
26+
def g(x, y):
27+
return x + y
2828
2929
# These functions now return Futures, and can be chained
3030
future = f(1)

0 commit comments

Comments
 (0)