Skip to content

Commit 77389e4

Browse files
committed
Typing
1 parent f1dd064 commit 77389e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/pool_shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def _create_connection(address: _Address, options: PoolOptions) -> socket.socket
408408
family = socket.AF_UNSPEC
409409

410410
err = None
411-
for res in socket.getaddrinfo(host, port, family=family, type=socket.SOCK_STREAM): # type: ignore[attr-defined]
411+
for res in socket.getaddrinfo(host, port, family=family, type=socket.SOCK_STREAM): # type: ignore[attr-defined, unused-ignore]
412412
af, socktype, proto, dummy, sa = res
413413
# SOCK_CLOEXEC was new in CPython 3.2, and only available on a limited
414414
# number of platforms (newer Linux and *BSD). Starting with CPython 3.4

0 commit comments

Comments
 (0)