mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Change the last PyErr_Format %s format to %.400s.
This commit is contained in:
		
							parent
							
								
									55e93964e6
								
							
						
					
					
						commit
						ba98a42a0f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2386,7 +2386,7 @@ call_builtin(func, arg, kw) | |||
| 		Py_DECREF(call); | ||||
| 		return res; | ||||
| 	} | ||||
| 	PyErr_Format(PyExc_TypeError, "call of non-function (type %s)", | ||||
| 	PyErr_Format(PyExc_TypeError, "call of non-function (type %.400s)", | ||||
| 		     func->ob_type->tp_name); | ||||
| 	return NULL; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum