doc: tweak formatting in concurrent.execute_concurrent

This commit is contained in:
Adam Holmberg
2015-08-19 14:14:18 -05:00
parent 8734a77194
commit 3f43c85141

View File

@@ -45,13 +45,13 @@ def execute_concurrent(session, statements_and_parameters, concurrency=100, rais
`results_generator` controls how the results are returned.
If :const:`False`, the results are returned only after all requests have completed.
If :const:`False`, the results are returned only after all requests have completed.
If :const:`True`, a generator expression is returned. Using a generator results in
a constrained memory footprint when the results set will be large -- results are yielded
as they return instead of materializing the entire list at once. The trade for lower memory
footprint is marginal CPU overhead (more thread coordination and sorting out-of-order results
on-the-fly).
If :const:`True`, a generator expression is returned. Using a generator results in a constrained
memory footprint when the results set will be large -- results are yielded
as they return instead of materializing the entire list at once. The trade for lower memory
footprint is marginal CPU overhead (more thread coordination and sorting out-of-order results
on-the-fly).
A sequence of ``(success, result_or_exc)`` tuples is returned in the same
order that the statements were passed in. If ``success`` is :const:`False`,