We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ec6b0 commit b88774aCopy full SHA for b88774a
wfdb/io/util.py
@@ -4,7 +4,7 @@
4
import math
5
import os
6
7
-from typing import Sequence, Tuple
+from typing import List, Sequence, Tuple
8
9
10
def lines_to_file(file_name: str, write_dir: str, lines: Sequence[str]):
@@ -102,8 +102,9 @@ def upround(x, base):
102
103
104
def overlapping_ranges(
105
- ranges_1: Tuple[int, int], ranges_2: Tuple[int, int]
106
-) -> Tuple[int, int]:
+ ranges_1: Sequence[Tuple[int, int]],
+ ranges_2: Sequence[Tuple[int, int]],
107
+) -> List[Tuple[int, int]]:
108
"""
109
Given two collections of integer ranges, return a list of ranges
110
in which both input inputs overlap.
0 commit comments