mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	closes bpo-39886: Remove unused arg from config_get_stdio_errors. (GH-18823)
This commit is contained in:
		
							parent
							
								
									ad0c775ea2
								
							
						
					
					
						commit
						aa450a0364
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1434,7 +1434,7 @@ config_read_complex_options(PyConfig *config) | |||
| 
 | ||||
| 
 | ||||
| static const wchar_t * | ||||
| config_get_stdio_errors(const PyConfig *config) | ||||
| config_get_stdio_errors(void) | ||||
| { | ||||
| #ifndef MS_WINDOWS | ||||
|     const char *loc = setlocale(LC_CTYPE, NULL); | ||||
|  | @ -1590,7 +1590,7 @@ config_init_stdio_encoding(PyConfig *config, | |||
|         } | ||||
|     } | ||||
|     if (config->stdio_errors == NULL) { | ||||
|         const wchar_t *errors = config_get_stdio_errors(config); | ||||
|         const wchar_t *errors = config_get_stdio_errors(); | ||||
|         assert(errors != NULL); | ||||
| 
 | ||||
|         status = PyConfig_SetString(config, &config->stdio_errors, errors); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andy Lester
						Andy Lester