Skip to content

Commit

Permalink
Fix reference to run_batch in run_batch_async docs (#5740)
Browse files Browse the repository at this point in the history
Follow-up to #5555 to fix docs.
  • Loading branch information
maffoo authored Jul 12, 2022
1 parent 5bfffc3 commit f925fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cirq-core/cirq/work/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ async def run_batch_async(
params_list: Optional[Sequence['cirq.Sweepable']] = None,
repetitions: Union[int, Sequence[int]] = 1,
) -> Sequence[Sequence['cirq.Result']]:
"""Runs the supplied circuits.
"""Runs the supplied circuits asynchronously.
This is an asynchronous version of `run_batch`; see full docs there.
See docs for `cirq.Sampler.run_batch`.
"""
params_list, repetitions = self._normalize_batch_args(programs, params_list, repetitions)
return [
Expand Down

0 comments on commit f925fd0

Please sign in to comment.