8000 Fix create_tcp_listener() docstring referencing a nonexistent paramet… · IBMZ-Linux-OSS-Python/anyio@bb3523a · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit bb3523a

Browse files
authored
Fix create_tcp_listener() docstring referencing a nonexistent parameter (agronholm#481)
1 parent 74c74cf commit bb3523a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anyio/_core/_sockets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ async def create_tcp_listener(
282282
:param local_host: IP address of the interface to listen on. If omitted, listen on
283283
all IPv4 and IPv6 interfaces. To listen on all interfaces on a specific address
284284
family, use ``0.0.0.0`` for IPv4 or ``::`` for IPv6.
285-
:param family: address family (used if ``interface`` was omitted)
285+
:param family: address family (used if ``local_host`` was omitted)
286286
:param backlog: maximum number of queued incoming connections (up to a maximum of
287287
2**16, or 65536)
288288
:param reuse_port: ``True`` to allow multiple sockets to bind to the same

0 commit comments

Comments
 (0)
0