summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-14 06:59:24 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-14 06:59:24 (GMT)
commitde72692465289b28038fb903e2fd82efa47c72f9 (patch)
treee1d0ee486a329eeb60e6f840a04644adcaad3b0c /Doc
parente1b6a9ac99df104045a5297028ff8a614eb6353f (diff)
downloadcpython-de72692465289b28038fb903e2fd82efa47c72f9.zip
cpython-de72692465289b28038fb903e2fd82efa47c72f9.tar.gz
cpython-de72692465289b28038fb903e2fd82efa47c72f9.tar.bz2
Tidied example script.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index d28d4fa..fa230a0 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: