diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-14 11:47:36 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-14 11:47:36 +0100 |
commit | cb7a167c7dee2fa1a19bd09ede3bae8b140e79da (patch) | |
tree | 3bc9443f0d988273a78f4654030ab65b3c580509 /typings/serial/serialutil.pyi | |
parent | 7892ef9d248c189be68ce7faf63230ec0a318b67 (diff) |
build: use PlatformIO
Diffstat (limited to 'typings/serial/serialutil.pyi')
-rw-r--r-- | typings/serial/serialutil.pyi | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/typings/serial/serialutil.pyi b/typings/serial/serialutil.pyi deleted file mode 100644 index d24f7d1..0000000 --- a/typings/serial/serialutil.pyi +++ /dev/null @@ -1,37 +0,0 @@ -import io -from typing import Any, Optional - - -class SerialBase(io.RawIOBase): - """\ - Serial port base class. Provides __init__ function and properties to - get/set port settings. - """ - - def __init__( - self, - port: Optional[str] = ..., - baudrate: Optional[int] = ..., - **kwargs: Any - ) -> None: - """Initialize comm port object. If a "port" is given, then the port - will be opened immediately. Otherwise a Serial port object in closed - state is returned. - """ - ... - - @property - def baudrate(self) -> int: ... - - @baudrate.setter - def baudrate(self) -> None: ... - - def setRTS(self, value: Optional[bool] = ...) -> None: - ... - - def setDTR(self, value: Optional[bool] = ...) -> None: - ... - - @property - def is_open(self) -> bool: - ... |