Skip to content

Commit

Permalink
Documentation fix for cirq.Circuit.prev_moment_operating_on (#4895)
Browse files Browse the repository at this point in the history
See #4894 concerning a single-word documentation error for `cirq.Circuit.prev_moment_operating_on`
  • Loading branch information
perlinm authored Jan 25, 2022
1 parent 4600f58 commit ee744bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-core/cirq/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def prev_moment_operating_on(
end_moment_index: Optional[int] = None,
max_distance: Optional[int] = None,
) -> Optional[int]:
"""Finds the index of the next moment that touches the given qubits.
"""Finds the index of the previous moment that touches the given qubits.
Args:
qubits: We're looking for operations affecting any of these qubits.
Expand Down

0 comments on commit ee744bd

Please sign in to comment.