Fix return type annot for `slice_from_time()`
parent
e0381e49a9
commit
5a08ccc6a3
|
@ -297,10 +297,7 @@ def slice_from_time(
|
||||||
stop_t: float,
|
stop_t: float,
|
||||||
step: int | None = None,
|
step: int | None = None,
|
||||||
|
|
||||||
) -> tuple[
|
) -> slice:
|
||||||
slice,
|
|
||||||
slice,
|
|
||||||
]:
|
|
||||||
'''
|
'''
|
||||||
Calculate array indices mapped from a time range and return them in
|
Calculate array indices mapped from a time range and return them in
|
||||||
a slice.
|
a slice.
|
||||||
|
|
Loading…
Reference in New Issue