From a4b2f788b08c5f416d4b544735d8f742f4993e40 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Thu, 26 Aug 2021 14:51:25 -0400 Subject: [PATCH] iostream: Fix copy/pasted comment Co-authored-by: Pierce Lopez --- tornado/iostream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/iostream.py b/tornado/iostream.py index e0ec51334..930f73d61 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -1568,7 +1568,7 @@ class SSLIOStream(IOStream): def write_to_fd(self, data: memoryview) -> int: # clip buffer size at 1GB since SSL sockets only support upto 2GB # this change in behaviour is transparent, since the function is - # already expected to (possibly) read less than the provided buffer + # already expected to (possibly) write less than the provided buffer if len(data) >> 30: data = memoryview(data)[: 1 << 30] try: -- 2.47.2