summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorDaniel Andersson <daniel.4ndersson@gmail.com>2019-11-13 10:03:45 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2019-11-13 09:03:45 +0000
commitd89cea15ad37e873003fc74ec2c77660ab620b00 (patch)
treededb513561770828daac5e08a7f3e2e1a54bad84 /Python
parent9c2844927d15b2d3e21b28d62249dead02b5b597 (diff)
downloadcpython-git-d89cea15ad37e873003fc74ec2c77660ab620b00.tar.gz
bpo-38781: Clear buffer in MemoryHandler flush (GH-17132)
This makes it easier to use a custom buffer when subclassing MemoryHandler (by avoiding the explicity empty list literal assignment in the flush method). For example, collection.deque can now be used without any modifications to MemoryHandler.flush. The same applies to BufferingHandler.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions