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.
read_all
None
1 parent 09ee44b commit d9814c0Copy full SHA for d9814c0
1 file changed
stubs/pyserial/serial/serialutil.pyi
@@ -164,6 +164,6 @@ class SerialBase(io.RawIOBase):
164
def apply_settings(self, d: dict[str, Any]) -> None: ...
165
def readinto(self, buffer: WriteableBuffer, /) -> int: ... # returns int unlike `io.RawIOBase`
166
def send_break(self, duration: float = 0.25) -> None: ...
167
- def read_all(self) -> bytes | None: ...
+ def read_all(self) -> bytes: ...
168
def read_until(self, expected: bytes = b"\n", size: int | None = None) -> bytes: ...
169
def iread_until(self, expected: bytes = ..., size: int | None = ...) -> Generator[bytes]: ...
0 commit comments