From: Bob Halley Date: Fri, 12 Jun 2020 20:47:28 +0000 (-0700) Subject: fix comment X-Git-Tag: v2.0.0rc1~112^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b79edc151002064b94b858862f9044fcde0f70;p=thirdparty%2Fdnspython.git fix comment --- diff --git a/dns/asyncbackend.py b/dns/asyncbackend.py index acef9a67..1c9a1024 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