Skip to content

Commit

Permalink
Fix type hint for IteratorColumn's __iter__ (PR #1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshunjan authored and jmarshall committed Oct 9, 2024
1 parent f431911 commit 453acaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysam/libcalignmentfile.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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: ...
Expand Down

0 comments on commit 453acaa

Please sign in to comment.