mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Remove unused "import curses".
This commit is contained in:
		
							parent
							
								
									c580dae6da
								
							
						
					
					
						commit
						51060be2f8
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -28,7 +28,6 @@ try:
 | 
				
			||||||
    # We can only do this trick on Unix (if tput is on $PATH)!
 | 
					    # We can only do this trick on Unix (if tput is on $PATH)!
 | 
				
			||||||
    if sys.platform != "posix" or not sys.stderr.isatty():
 | 
					    if sys.platform != "posix" or not sys.stderr.isatty():
 | 
				
			||||||
        raise ImportError
 | 
					        raise ImportError
 | 
				
			||||||
    import curses
 | 
					 | 
				
			||||||
    import commands
 | 
					    import commands
 | 
				
			||||||
except ImportError:
 | 
					except ImportError:
 | 
				
			||||||
    bwrite = ewrite
 | 
					    bwrite = ewrite
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue