mirror of
				https://github.com/python/cpython.git
				synced 2025-10-27 03:34:32 +00:00 
			
		
		
		
	bpo-40521: Cleanup finalize_interp_types() (GH-21265)
Remove the now unused is_main_interp parameter of finalize_interp_types().
This commit is contained in:
		
							parent
							
								
									6b34d7b51e
								
							
						
					
					
						commit
						90db4653ae
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1257,7 +1257,7 @@ flush_std_files(void) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| static void | static void | ||||||
| finalize_interp_types(PyThreadState *tstate, int is_main_interp) | finalize_interp_types(PyThreadState *tstate) | ||||||
| { | { | ||||||
|     _PyExc_Fini(tstate); |     _PyExc_Fini(tstate); | ||||||
|     _PyFrame_Fini(tstate); |     _PyFrame_Fini(tstate); | ||||||
|  | @ -1300,7 +1300,7 @@ finalize_interp_clear(PyThreadState *tstate) | ||||||
| 
 | 
 | ||||||
|     _PyWarnings_Fini(tstate->interp); |     _PyWarnings_Fini(tstate->interp); | ||||||
| 
 | 
 | ||||||
|     finalize_interp_types(tstate, is_main_interp); |     finalize_interp_types(tstate); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner