Skip to content

Commit 795623a

Browse files
basnijholtjbweston
andauthored
Update docs/source/faq.rst
Co-authored-by: Joseph Weston <[email protected]>
1 parent d94e487 commit 795623a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/faq.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Why can I not use a ``lambda`` with a learner?
2929
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3030

3131
When using the `~adaptive.Runner` the learner's function is evaluated in different Python processes.
32-
Therefore, the ``function`` needs to be serialized (pickled) and send to the executor, ``lambda``\s cannot be pickled.
32+
Therefore, the ``function`` needs to be serialized (pickled) and send to the other Python processes; ``lambda``\s cannot be pickled.
3333
Instead you can probably use ``functools.partial`` to accomplish what you want to do.
3434

3535
Where can I learn more about the algorithm used?

0 commit comments

Comments
 (0)