mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	gh-108444: Replace _PyLong_AsInt() with PyLong_AsInt() (#108459)
Change generated by the command:
sed -i -e 's!_PyLong_AsInt!PyLong_AsInt!g' \
    $(find -name "*.c" -o -name "*.h")
			
			
This commit is contained in:
		
							parent
							
								
									4e5a7284ee
								
							
						
					
					
						commit
						b32d4cad15
					
				
					 18 changed files with 32 additions and 32 deletions
				
			
		|  | @ -2416,7 +2416,7 @@ import_name(PyThreadState *tstate, _PyInterpreterFrame *frame, | |||
| 
 | ||||
|     /* Fast path for not overloaded __import__. */ | ||||
|     if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) { | ||||
|         int ilevel = _PyLong_AsInt(level); | ||||
|         int ilevel = PyLong_AsInt(level); | ||||
|         if (ilevel == -1 && _PyErr_Occurred(tstate)) { | ||||
|             return NULL; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner