Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions stubs/pyserial/serial/serialutil.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ class Timeout:
TIME: Callable[[], float]
is_infinite: bool
is_non_blocking: bool
duration: float
target_time: float
def __init__(self, duration: float) -> None: ...
duration: float | None
target_time: float | None
def __init__(self, duration: float | None) -> None: ...
def expired(self) -> bool: ...
def time_left(self) -> float: ...
def time_left(self) -> float | None: ...
def restart(self, duration: float) -> None: ...

class SerialBase(io.RawIOBase):
Expand Down
Loading