mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	gh-99277: remove older version of get_write_buffer_limits (#99280)
				
					
				
			Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									73679b13ca
								
							
						
					
					
						commit
						f1680c3fbf
					
				
					 2 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
					@ -199,12 +199,6 @@ def get_read_buffer_size(self):
 | 
				
			||||||
        """Return the current size of the read buffer."""
 | 
					        """Return the current size of the read buffer."""
 | 
				
			||||||
        return self._ssl_protocol._get_read_buffer_size()
 | 
					        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
 | 
					    @property
 | 
				
			||||||
    def _protocol_paused(self):
 | 
					    def _protocol_paused(self):
 | 
				
			||||||
        # Required for sendfile fallback pause_writing/resume_writing logic
 | 
					        # Required for sendfile fallback pause_writing/resume_writing logic
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue