mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Harmonize linesep docstrings, and fix the quoting of \r\n
This commit is contained in:
		
							parent
							
								
									f8b9dfd9a1
								
							
						
					
					
						commit
						cd37dfcfac
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		|  | @ -276,7 +276,7 @@ def append(self, s, charset=None, errors='strict'): | |||
|         self._chunks.append((s, charset)) | ||||
| 
 | ||||
|     def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'): | ||||
|         """Encode a message header into an RFC-compliant format. | ||||
|         r"""Encode a message header into an RFC-compliant format. | ||||
| 
 | ||||
|         There are many issues involved in converting a given string for use in | ||||
|         an email header.  Only certain character sets are readable in most | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 R David Murray
						R David Murray