Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de72692

Browse files
committed
Tidied example script.
1 parent e1b6a9a commit de72692

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/logging.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2660,6 +2660,8 @@ data needed by the handler to create the socket::
26602660
data = json.dumps(record.__dict__)
26612661
self.queue.send(data)
26622662

2663+
def close(self):
2664+
self.queue.close()
26632665

26642666
.. _formatter-objects:
26652667

0 commit comments

Comments
 (0)