mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-133644: remove deprecated PyImport_ImportModuleNoBlock (#133655)
				
					
				
			This commit is contained in:
		
							parent
							
								
									26839eae20
								
							
						
					
					
						commit
						a2c4467d06
					
				
					 17 changed files with 20 additions and 34 deletions
				
			
		|  | @ -3434,8 +3434,10 @@ PyImport_ImportModule(const char *name) | |||
|  * ImportError instead of blocking. | ||||
|  * | ||||
|  * Returns the module object with incremented ref count. | ||||
|  * | ||||
|  * Removed in 3.15, but kept for stable ABI compatibility. | ||||
|  */ | ||||
| PyObject * | ||||
| PyAPI_FUNC(PyObject *) | ||||
| PyImport_ImportModuleNoBlock(const char *name) | ||||
| { | ||||
|     if (PyErr_WarnEx(PyExc_DeprecationWarning, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Bénédikt Tran
						Bénédikt Tran