Skip to content

Commit

Permalink
change self.filter for Schedule.filter
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillermoAbadLopez committed Jul 1, 2024
1 parent 9ae8e83 commit 8556851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/pulse/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def exclude(
) -> "Schedule":
"""Return a ``Schedule`` with only the instructions from this Schedule *failing*
at least one of the provided filters.
This method is the complement of py:meth:`~self.filter`, so that::
This method is the complement of :py:meth:`~Schedule.filter`, so that::
self.filter(args) | self.exclude(args) == self
Expand Down Expand Up @@ -1300,7 +1300,7 @@ def exclude(
):
"""Return a new ``ScheduleBlock`` with only the instructions from this ``ScheduleBlock``
*failing* at least one of the provided filters.
This method is the complement of :py:meth:`~self.filter`, so that::
This method is the complement of :py:meth:`~Schedule.filter`, so that::
self.filter(args) + self.exclude(args) == self in terms of instructions included.
Expand Down

0 comments on commit 8556851

Please sign in to comment.