mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Closes #22565: fix argument types of PyErr_WarnEx.
This commit is contained in:
		
							parent
							
								
									c6ad57608b
								
							
						
					
					
						commit
						97435166aa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -346,7 +346,7 @@ in various ways.  There is a separate error indicator for each thread.
 | 
				
			||||||
   use.
 | 
					   use.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. c:function:: int PyErr_WarnEx(PyObject *category, char *message, int stack_level)
 | 
					.. c:function:: int PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   Issue a warning message.  The *category* argument is a warning category (see
 | 
					   Issue a warning message.  The *category* argument is a warning category (see
 | 
				
			||||||
   below) or *NULL*; the *message* argument is an UTF-8 encoded string.  *stack_level* is a
 | 
					   below) or *NULL*; the *message* argument is an UTF-8 encoded string.  *stack_level* is a
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue