mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Fix typo: "an Unicode string" --> "a Unicode string"
Clarify the return value when the parameter is a Unicode object.
This commit is contained in:
		
							parent
							
								
									82bac5952f
								
							
						
					
					
						commit
						50e1286c00
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -871,8 +871,8 @@ def my_import(name):
 | 
			
		|||
 | 
			
		||||
  If no optional parameters are given, \code{unicode()} will mimic the
 | 
			
		||||
  behaviour of \code{str()} except that it returns Unicode strings
 | 
			
		||||
  instead of 8-bit strings. More precisely, if \var{object} is an
 | 
			
		||||
  Unicode string or subclass it will return a Unicode string without
 | 
			
		||||
  instead of 8-bit strings. More precisely, if \var{object} is a
 | 
			
		||||
  Unicode string or subclass it will return that Unicode string without
 | 
			
		||||
  any additional decoding applied.
 | 
			
		||||
 | 
			
		||||
  For objects which provide a \method{__unicode__()} method, it will
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue