summaryrefslogtreecommitdiff
path: root/dns/asyncbackend.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-12 13:47:28 -0700
committerBob Halley <halley@dnspython.org>2020-06-12 13:47:28 -0700
commit67b79edc151002064b94b858862f9044fcde0f70 (patch)
tree81968137a7055801c2b7c26922787e4c015a6138 /dns/asyncbackend.py
parent41a111e852a4ea63727ba51abd668c9fec0fd599 (diff)
downloaddnspython-67b79edc151002064b94b858862f9044fcde0f70.tar.gz
fix comment
Diffstat (limited to 'dns/asyncbackend.py')
-rw-r--r--dns/asyncbackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/asyncbackend.py b/dns/asyncbackend.py
index acef9a6..1c9a102 100644
--- a/dns/asyncbackend.py
+++ b/dns/asyncbackend.py
@@ -44,8 +44,8 @@ def sniff():
"""Attempt to determine the in-use asynchronous I/O library by using
the ``sniffio`` module if it is available.
- Returns the name of the library, defaulting to "asyncio" if no other
- library appears to be in use.
+ Returns the name of the library, or raises AsyncLibraryNotFoundError
+ if the library cannot be determined.
"""
try:
import sniffio