mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Note the exception raised when parameter to chr() is out of range.
This commit is contained in:
		
							parent
							
								
									33d51841a3
								
							
						
					
					
						commit
						665dd704a3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -102,7 +102,8 @@ class instances are callable if they have a \method{__call__()} method.
 | 
				
			||||||
  Return a string of one character whose \ASCII{} code is the integer
 | 
					  Return a string of one character whose \ASCII{} code is the integer
 | 
				
			||||||
  \var{i}, e.g., \code{chr(97)} returns the string \code{'a'}.  This is the
 | 
					  \var{i}, e.g., \code{chr(97)} returns the string \code{'a'}.  This is the
 | 
				
			||||||
  inverse of \function{ord()}.  The argument must be in the range [0..255],
 | 
					  inverse of \function{ord()}.  The argument must be in the range [0..255],
 | 
				
			||||||
  inclusive.
 | 
					  inclusive; \exception{ValueError} will be raised if \var{i} is
 | 
				
			||||||
 | 
					  outside that range.
 | 
				
			||||||
\end{funcdesc}
 | 
					\end{funcdesc}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{funcdesc}{cmp}{x, y}
 | 
					\begin{funcdesc}{cmp}{x, y}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue