]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Abstract methods should raise NotImplementedError, not return None
authorBob Halley <halley@dnspython.org>
Sun, 31 Jan 2021 22:50:14 +0000 (14:50 -0800)
committerBob Halley <halley@dnspython.org>
Sun, 31 Jan 2021 22:50:14 +0000 (14:50 -0800)
commit5f45d6037aa3c9064eb880cf9c22d5180e4cf160
treeeafde9d0d0c9845d92c9537ad0aa318815d5c36f
parent3ee950f8c8b31f0f12d896f1ea335f99d53def94
Abstract methods should raise NotImplementedError, not return None

getpeername() and getsockname() are part of the abstract API but weren't
defined.
dns/_asyncbackend.py