mirror of
				https://github.com/python/cpython.git
				synced 2025-10-25 02:43:41 +00:00 
			
		
		
		
	Fixed a typo in a comment (issue #23016).
This commit is contained in:
		
							parent
							
								
									9566de18e6
								
							
						
					
					
						commit
						eb9a9b6ffa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -12,7 +12,7 @@ def showwarning(message, category, filename, lineno, file=None, line=None): | ||||||
|     if file is None: |     if file is None: | ||||||
|         file = sys.stderr |         file = sys.stderr | ||||||
|         if file is None: |         if file is None: | ||||||
|             # sys.stderr is None when ran with pythonw.exe - warnings get lost |             # sys.stderr is None when run with pythonw.exe - warnings get lost | ||||||
|             return |             return | ||||||
|     try: |     try: | ||||||
|         file.write(formatwarning(message, category, filename, lineno, line)) |         file.write(formatwarning(message, category, filename, lineno, line)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka