summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <xistence@0x58.com>2019-04-05 13:17:01 -0500
committerGitHub <noreply@github.com>2019-04-05 13:17:01 -0500
commitecf13757fd585dbf7f2f9539663c69e261442c29 (patch)
tree8ccf5daf78d61c84202bb81218352f6d34f13ce9
parentb4df0057b599d84f8e55beaab55b9be6c0958ce7 (diff)
downloadwaitress-ecf13757fd585dbf7f2f9539663c69e261442c29.tar.gz
clarify comment on len() issues
Co-Authored-By: mmerickel <github@m.merickel.org>
-rw-r--r--waitress/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waitress/channel.py b/waitress/channel.py
index 2da4016..27eb532 100644
--- a/waitress/channel.py
+++ b/waitress/channel.py
@@ -222,7 +222,7 @@ class HTTPChannel(wasyncore.dispatcher, object):
while True:
outbuf = self.outbufs[0]
# use outbuf.__len__ rather than len(outbuf) FBO of not getting
- # OverflowError on Python 2
+ # OverflowError on 32-bit Python
outbuflen = outbuf.__len__()
while outbuflen > 0:
chunk = outbuf.get(self.sendbuf_len)