From: Vinay Sajip Date: Tue, 14 Sep 2010 06:59:24 +0000 (+0000) Subject: Tidied example script. X-Git-Tag: v3.2a3~274 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de72692465289b28038fb903e2fd82efa47c72f9;p=thirdparty%2FPython%2Fcpython.git Tidied example script. --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index d28d4fae7823..fa230a0b39e3 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: