summaryrefslogtreecommitdiff
path: root/src/waitress/buffers.py
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2020-05-06 23:54:02 -0700
committerBert JW Regeer <bertjw@regeer.org>2020-08-15 18:55:03 -0700
commit68384558429978a6cec0645d49121d7fd53511bd (patch)
treef186a95313989291f0dd592b19b54fdb3dc708fa /src/waitress/buffers.py
parentdc1f15a62144974f06127c5dfe32b58eeb528efc (diff)
downloadwaitress-68384558429978a6cec0645d49121d7fd53511bd.tar.gz
Remove object from class definition
Diffstat (limited to 'src/waitress/buffers.py')
-rw-r--r--src/waitress/buffers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/waitress/buffers.py b/src/waitress/buffers.py
index 04f6b42..0086fe8 100644
--- a/src/waitress/buffers.py
+++ b/src/waitress/buffers.py
@@ -22,7 +22,7 @@ COPY_BYTES = 1 << 18 # 256K
STRBUF_LIMIT = 8192
-class FileBasedBuffer(object):
+class FileBasedBuffer:
remain = 0
@@ -187,7 +187,7 @@ class ReadOnlyFileBasedBuffer(FileBasedBuffer):
raise NotImplementedError
-class OverflowableBuffer(object):
+class OverflowableBuffer:
"""
This buffer implementation has four stages:
- No data