mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Replace PyObject_Del with PyObject_Free (#122453)
PyObject_Del() is just a alias to PyObject_Free() kept for backward compatibility. Use directly PyObject_Free() instead.
This commit is contained in:
		
							parent
							
								
									88030861e2
								
							
						
					
					
						commit
						fda6bd842a
					
				
					 13 changed files with 18 additions and 18 deletions
				
			
		|  | @ -1374,7 +1374,7 @@ PyTypeObject _PyCounterOptimizer_Type = { | |||
|     .tp_itemsize = 0, | ||||
|     .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_DISALLOW_INSTANTIATION, | ||||
|     .tp_methods = counter_optimizer_methods, | ||||
|     .tp_dealloc = (destructor)PyObject_Del, | ||||
|     .tp_dealloc = (destructor)PyObject_Free, | ||||
| }; | ||||
| 
 | ||||
| PyObject * | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner