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 098f30e commit 5fc6756Copy full SHA for 5fc6756
1 file changed
stubs/pyserial/serial/serialutil.pyi
@@ -147,6 +147,6 @@ class SerialBase(io.RawIOBase):
147
def apply_settings(self, d: dict[str, Any]) -> None: ...
148
def readinto(self, buffer: WriteableBuffer, /) -> int: ... # returns int unlike `io.RawIOBase`
149
def send_break(self, duration: float = 0.25) -> None: ...
150
- def read_all(self) -> bytes | None: ...
+ def read_all(self) -> bytes: ...
151
def read_until(self, expected: bytes = b"\n", size: int | None = None) -> bytes: ...
152
def iread_until(self, expected: bytes = ..., size: int | None = ...) -> Generator[bytes]: ...
0 commit comments