Skip to content

Commit 0dfbb76

Browse files
miss-islingtoncsuriano23kumaraditya303
authored
[3.11] gh-99277: remove older version of get_write_buffer_limits (GH-99280) (#99338)
(cherry picked from commit f1680c3) Co-authored-by: Carlo <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
1 parent c9f2177 commit 0dfbb76

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Lib/asyncio/sslproto.py

-6
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,6 @@ def get_read_buffer_size(self):
199199
"""Return the current size of the read buffer."""
200200
return self._ssl_protocol._get_read_buffer_size()
201201

202-
def get_write_buffer_limits(self):
203-
"""Get the high and low watermarks for write flow control.
204-
Return a tuple (low, high) where low and high are
205-
positive number of bytes."""
206-
return self._ssl_protocol._transport.get_write_buffer_limits()
207-
208202
@property
209203
def _protocol_paused(self):
210204
# Required for sendfile fallback pause_writing/resume_writing logic
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`

0 commit comments

Comments
 (0)