Skip to content

Commit

Permalink
Fix definition of g in very first example in docs (#3499)
Browse files Browse the repository at this point in the history
`g` was defined as a single-argument function, but called with two.
  • Loading branch information
giordano authored Jun 28, 2024
1 parent 2fc20d8 commit 2b7e7f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Parsl lets you chain functions together and will launch each function as inputs
return x + 1
@python_app
def g(x):
return x * 2
def g(x, y):
return x + y
# These functions now return Futures, and can be chained
future = f(1)
Expand Down

0 comments on commit 2b7e7f9

Please sign in to comment.