8000 fix typing for psutil sconn (#6669) · python/typeshed@f931870 · GitHub
[go: up one dir, main page]

Skip to content

Commit f931870

Browse files
authored
fix typing for psutil sconn (#6669)
1 parent 3fb2bcd commit f931870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/psutil/psutil/_common.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ class sconn(NamedTuple):
130130
fd: int
131131
family: AddressFamily
132132
type: SocketKind
133-
laddr: str
134-
raddr: str
133+
laddr: addr | tuple[()]
134+
raddr: addr | tuple[()]
135135
status: str
136136
pid: int
137137

0 commit comments

Comments
 (0)
0