diff --git a/pysam/libcalignmentfile.pyi b/pysam/libcalignmentfile.pyi index 28b395ae..30ed7e16 100644 --- a/pysam/libcalignmentfile.pyi +++ b/pysam/libcalignmentfile.pyi @@ -20,7 +20,7 @@ else: from typing import Literal from pysam.libchtslib import HTSFile, _HasFileNo -from pysam.libcalignedsegment import AlignedSegment +from pysam.libcalignedsegment import AlignedSegment, PileupColumn from pysam.libcfaidx import FastaFile class IndexStats(NamedTuple): @@ -204,7 +204,7 @@ class IteratorRowRegion(IteratorRow): ... class IteratorRowSelection(IteratorRow): ... class IteratorColumn: - def __iter__(self) -> IteratorRow: ... + def __iter__(self) -> IteratorColumn: ... def __next__(self) -> PileupColumn: ... @property def seq_len(self) -> int: ...