From 9006d246b6e926e6d5ac077d9b6838ef4fd22f25 Mon Sep 17 00:00:00 2001 From: Peter Olson Date: Sat, 29 Feb 2020 12:32:37 -0800 Subject: [PATCH] Correct Message.is_response docstring When testing responses, I discovered that the docstring for Message.is_response had the comparison backwards, specifically in how the `QR` flag is checked. The documentation was incorrectly updated in fc7db7da4284eedaa951e6acc34e6e6f94da1c64 --- dns/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/message.py b/dns/message.py index e720a4e7..1c8f2dd7 100644 --- a/dns/message.py +++ b/dns/message.py @@ -217,7 +217,7 @@ class Message(object): return not self.__eq__(other) def is_response(self, other): - """Is this message a response to *other*? + """Is *other* a response this message? Returns a ``bool``. """ -- 2.47.3