summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/sslproto.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-10 17:01:14 (GMT)
committerGitHub <noreply@github.com>2022-11-10 17:01:14 (GMT)
commit0dfbb769df9e492a08b55ba59bf256b900b43296 (patch)
tree014f5525715db4221467ee1349436b10c28951a1 /Lib/asyncio/sslproto.py
parentc9f2177d13925536c662c1c9237ed0875b8b67da (diff)
downloadcpython-0dfbb769df9e492a08b55ba59bf256b900b43296.zip
cpython-0dfbb769df9e492a08b55ba59bf256b900b43296.tar.gz
cpython-0dfbb769df9e492a08b55ba59bf256b900b43296.tar.bz2
[3.11] gh-99277: remove older version of `get_write_buffer_limits` (GH-99280) (#99338)
(cherry picked from commit f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac) Co-authored-by: Carlo <34414634+csuriano23@users.noreply.github.com> 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 5cb5cd3..bbf9cad 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