mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Get rid of f_restricted too. Doc the other 4 ints that were already removed
at the NeedForSpeed sprint.
This commit is contained in:
		
							parent
							
								
									2585ad58e6
								
							
						
					
					
						commit
						b9845e72f9
					
				
					 4 changed files with 13 additions and 5 deletions
				
			
		|  | @ -3354,7 +3354,7 @@ int | |||
| PyEval_GetRestricted(void) | ||||
| { | ||||
| 	PyFrameObject *current_frame = PyEval_GetFrame(); | ||||
| 	return current_frame == NULL ? 0 : current_frame->f_restricted; | ||||
| 	return current_frame == NULL ? 0 : PyFrame_IsRestricted(current_frame); | ||||
| } | ||||
| 
 | ||||
| int | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz