mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Mention logging.captureWarnings in the warnings module doc.
This commit is contained in:
		
						commit
						e1d2103ede
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,10 @@ may be overridden; the default implementation of this function formats the
 | 
			
		|||
message by calling :func:`formatwarning`, which is also available for use by
 | 
			
		||||
custom implementations.
 | 
			
		||||
 | 
			
		||||
.. seealso::
 | 
			
		||||
   :func:`logging.captureWarnings` allows you to handle all warnings with
 | 
			
		||||
   the standard logging infrastructure.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.. _warning-categories:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue