From: Bob Halley Date: Wed, 14 Apr 2021 15:52:44 +0000 (-0700) Subject: fix function signature and documentation of handle() method X-Git-Tag: v2.2.0rc1~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3804317b3f636a7b27edc83cfdec28a110df6335;p=thirdparty%2Fdnspython.git fix function signature and documentation of handle() method --- diff --git a/tests/nanonameserver.py b/tests/nanonameserver.py index 33452ea2..69755ea3 100644 --- a/tests/nanonameserver.py +++ b/tests/nanonameserver.py @@ -160,9 +160,9 @@ class Server(threading.Thread): finally: raise EOFError - def handle(self, message, peer, connection_type): + def handle(self, request): # - # Handle message 'message'. Override this method to change + # Handle request 'request'. Override this method to change # how the server behaves. # # The return value is either a dns.message.Message, a bytes,