Skip to content

Commit 88323d0

Browse files
authored
Update stale docstrings in AsyncZeroconf (#1079)
1 parent f3a9f80 commit 88323d0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# version: 1.2
1+
# version: 1.3
22

33
.PHONY: all virtualenv
44
MAX_LINE_LENGTH=110

zeroconf/asyncio.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ class AsyncZeroconf:
132132
133133
Supports registration, unregistration, queries and browsing.
134134
135-
The async version is currently a wrapper around the sync version
136-
with I/O being done in the executor for backwards compatibility.
135+
The async version is currently a wrapper around Zeroconf which
136+
is now also async. It is expected that an asyncio event loop
137+
is already running before creating the AsyncZeroconf object.
137138
"""
138139

139140
def __init__(
@@ -145,7 +146,7 @@ def __init__(
145146
zc: Optional[Zeroconf] = None,
146147
) -> None:
147148
"""Creates an instance of the Zeroconf class, establishing
148-
multicast communications, listening and reaping threads.
149+
multicast communications, and listening.
149150
150151
:param interfaces: :class:`InterfaceChoice` or a list of IP addresses
151152
(IPv4 and IPv6) and interface indexes (IPv6 only).

0 commit comments

Comments
 (0)