We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1316df4 commit 5b30bffCopy full SHA for 5b30bff
pslab/connection/_serial.py
@@ -153,7 +153,6 @@ def __repr__(self) -> str: # noqa
153
f"{self.__class__.__name__}"
154
"["
155
f"{self.port}, "
156
- f"{self.baudrate} baud, "
157
- f"timeout {self.timeout} s"
+ f"{self.baudrate} baud"
158
"]"
159
)
pslab/connection/wlan.py
@@ -104,10 +104,4 @@ def write(self, data: bytes) -> int:
104
return self._sock.sendall(data)
105
106
def __repr__(self) -> str: # noqa
107
- return (
108
- f"{self.__class__.__name__}"
109
- "["
110
- f"{self.host}:{self.port}, "
111
112
- "]"
113
- )
+ return f"{self.__class__.__name__}[{self.host}:{self.port}]"
0 commit comments