]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix comment
authorBob Halley <halley@dnspython.org>
Fri, 12 Jun 2020 20:47:28 +0000 (13:47 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 12 Jun 2020 20:47:28 +0000 (13:47 -0700)
dns/asyncbackend.py

index acef9a67a508ef9ae43432a0bb9ff8cd3e8df6a1..1c9a102462a19cf86999966eaf7205952a8b92ce 100644 (file)
@@ -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