diff --git a/pyannote/core/annotation.py b/pyannote/core/annotation.py index 5176cfb..7a9c382 100755 --- a/pyannote/core/annotation.py +++ b/pyannote/core/annotation.py @@ -307,7 +307,7 @@ def itertracks( def itertracks_with_labels(self) -> Iterator[SegmentTrackLabel]: """Typed version of :func:`itertracks`(yield_label=True)""" - return self.itertracks_with_labels() # type: ignore + return self.itertracks(yield_label=True) # type: ignore def itertracks_without_labels(self) -> Iterator[SegmentTrack]: """Typed version of :func:`itertracks`(yield_label=False)"""