mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			TeX
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			366 B
		
	
	
	
		
			TeX
		
	
	
	
	
	
| \section{\module{keyword} ---
 | |
|          Testing for Python keywords}
 | |
| 
 | |
| \declaremodule{standard}{keyword}
 | |
| \modulesynopsis{Test whether a string is a keyword in Python.}
 | |
| 
 | |
| 
 | |
| This module allows a Python program to determine if a string is a
 | |
| keyword.  A single function is provided:
 | |
| 
 | |
| \begin{funcdesc}{iskeyword}{s}
 | |
| Return true if \var{s} is a Python keyword.
 | |
| \end{funcdesc}
 | 
