Skip to content

Commit

Permalink
can
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardScottOZ authored May 26, 2024
1 parent 8c5f6ab commit f675a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multiprocessing/pool_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def single_arg(arg):
except Exception as e:
print(e)

# Pool.apply con accept positional arguments, key word arguments or both
# Pool.apply can accept positional arguments, key word arguments or both
pool.apply(multiple_args, args=(1, 2, 3))
pool.apply(multiple_args, kwds={'arg1': 1, 'arg2': 2, 'arg3': 3})
pool.apply(multiple_args, args=(1, 2), kwds={'arg3': 3})
Expand Down

0 comments on commit f675a51

Please sign in to comment.