mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Improve readability of formataddr docstring (GH-20963)
				
					
				
			For me as a non native English speaker, the sentence with its embedded clause was very hard to understand.
modified:   Lib/email/utils.py
Automerge-Triggered-By: @csabella
(cherry picked from commit 66a65ba43c)
Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
			
			
This commit is contained in:
		
							parent
							
								
									a5442b26f4
								
							
						
					
					
						commit
						83e54debac
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -81,7 +81,7 @@ def formataddr(pair, charset='utf-8'): | |||
|     If the first element of pair is false, then the second element is | ||||
|     returned unmodified. | ||||
| 
 | ||||
|     Optional charset if given is the character set that is used to encode | ||||
|     The optional charset is the character set that is used to encode | ||||
|     realname in case realname is not ASCII safe.  Can be an instance of str or | ||||
|     a Charset-like object which has a header_encode method.  Default is | ||||
|     'utf-8'. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)