mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	termios docs: fix indentation (GH-93080)
(cherry picked from commit ea5918e932)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									748c83d96d
								
							
						
					
					
						commit
						a86ad12399
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -85,11 +85,11 @@ The module defines the following functions:
 | 
			
		|||
 | 
			
		||||
.. function:: tcsetwinsize(fd, winsize)
 | 
			
		||||
 | 
			
		||||
    Set the tty window size for file descriptor *fd* from *winsize*, which is
 | 
			
		||||
    a two-item tuple ``(ws_row, ws_col)`` like the one returned by
 | 
			
		||||
    :func:`tcgetwinsize`. Requires at least one of the pairs
 | 
			
		||||
    (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
 | 
			
		||||
    (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
 | 
			
		||||
   Set the tty window size for file descriptor *fd* from *winsize*, which is
 | 
			
		||||
   a two-item tuple ``(ws_row, ws_col)`` like the one returned by
 | 
			
		||||
   :func:`tcgetwinsize`. Requires at least one of the pairs
 | 
			
		||||
   (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
 | 
			
		||||
   (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
 | 
			
		||||
 | 
			
		||||
   .. versionadded:: 3.11
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue