diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-09-14 06:59:24 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-09-14 06:59:24 (GMT) |
commit | de72692465289b28038fb903e2fd82efa47c72f9 (patch) | |
tree | e1d0ee486a329eeb60e6f840a04644adcaad3b0c /Doc | |
parent | e1b6a9ac99df104045a5297028ff8a614eb6353f (diff) | |
download | cpython-de72692465289b28038fb903e2fd82efa47c72f9.zip cpython-de72692465289b28038fb903e2fd82efa47c72f9.tar.gz cpython-de72692465289b28038fb903e2fd82efa47c72f9.tar.bz2 |
Tidied example script.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/logging.rst | 2 |
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: |