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