summaryrefslogtreecommitdiff
path: root/dns/_curio_backend.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-13 11:25:42 -0700
committerBob Halley <halley@dnspython.org>2020-06-13 11:25:42 -0700
commitdfff63e1d4cefc8af15abe37e9b8cce39951ac72 (patch)
tree0a27492864b842bb84b03125d6feb2126a7fb55c /dns/_curio_backend.py
parentdce23a614f2d11bd802c7f9aed8f3ab0e883f468 (diff)
downloaddnspython-dfff63e1d4cefc8af15abe37e9b8cce39951ac72.tar.gz
move low_level_address_tuple() to dns.inet; add some no-coverage comments
Diffstat (limited to 'dns/_curio_backend.py')
-rw-r--r--dns/_curio_backend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dns/_curio_backend.py b/dns/_curio_backend.py
index 699276d..836273b 100644
--- a/dns/_curio_backend.py
+++ b/dns/_curio_backend.py
@@ -8,6 +8,7 @@ import curio.socket # type: ignore
import dns._asyncbackend
import dns.exception
+import dns.inet
def _maybe_timeout(timeout):
@@ -18,7 +19,7 @@ def _maybe_timeout(timeout):
# for brevity
-_lltuple = dns._asyncbackend.low_level_address_tuple
+_lltuple = dns.inet.low_level_address_tuple
class DatagramSocket(dns._asyncbackend.DatagramSocket):