From de72692465289b28038fb903e2fd82efa47c72f9 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 14 Sep 2010 06:59:24 +0000 Subject: [PATCH] Tidied example script. --- Doc/library/logging.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index d28d4fae782..fa230a0b39e 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -2660,6 +2660,8 @@ data needed by the handler to create the socket:: data = json.dumps(record.__dict__) self.queue.send(data) + def close(self): + self.queue.close() .. _formatter-objects: