mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Replace Py_BuildValue("OO") by PyTuple_Pack.
This commit is contained in:
		
							parent
							
								
									07bbfc6a51
								
							
						
					
					
						commit
						7784f12d74
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		|  | @ -107,7 +107,7 @@ ast_error_finish(const char *filename) | |||
| 	Py_DECREF(errstr); | ||||
| 	return; | ||||
|     } | ||||
|     value = Py_BuildValue("(OO)", errstr, tmp); | ||||
|     value = PyTuple_Pack(2, errstr, tmp); | ||||
|     Py_DECREF(errstr); | ||||
|     Py_DECREF(tmp); | ||||
|     if (!value) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl