mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Tidied example script.
This commit is contained in:
parent
e1b6a9ac99
commit
de72692465
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue