forked from goodboy/tractor
Fmt repr as multi-line style call
parent
fdf3a1b01b
commit
0bcdea28a0
|
@ -329,8 +329,11 @@ class Channel:
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
if self.msgstream:
|
if self.msgstream:
|
||||||
return repr(
|
return repr(
|
||||||
self.msgstream.stream.socket._sock).replace( # type: ignore
|
self.msgstream.stream.socket._sock
|
||||||
"socket.socket", "Channel")
|
).replace( # type: ignore
|
||||||
|
"socket.socket",
|
||||||
|
"Channel",
|
||||||
|
)
|
||||||
return object.__repr__(self)
|
return object.__repr__(self)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue