aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/sslproto.py
diff options
context:
space:
mode:
authorCarlo <34414634+csuriano23@users.noreply.github.com>2022-11-10 17:07:17 +0100
committerGitHub <noreply@github.com>2022-11-10 08:07:17 -0800
commitf1680c3fbf7d18a1b3a5b390c433298bb6b9fcac (patch)
treed99f3f2146622bd1ce933fae6472c89c2e233374 /Lib/asyncio/sslproto.py
parent73679b13ca38a25da878d13b0674961b8ea53eb5 (diff)
downloadcpython-f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac.tar.gz
cpython-f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac.zip
gh-99277: remove older version of `get_write_buffer_limits` (#99280)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Lib/asyncio/sslproto.py')
-rw-r--r--Lib/asyncio/sslproto.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 5cb5cd35883..bbf9cad6bc7 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -199,12 +199,6 @@ class _SSLProtocolTransport(transports._FlowControlMixin,
"""Return the current size of the read buffer."""
return self._ssl_protocol._get_read_buffer_size()
- def get_write_buffer_limits(self):
- """Get the high and low watermarks for write flow control.
- Return a tuple (low, high) where low and high are
- positive number of bytes."""
- return self._ssl_protocol._transport.get_write_buffer_limits()
-
@property
def _protocol_paused(self):
# Required for sendfile fallback pause_writing/resume_writing logic