mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	added some missing constants
This commit is contained in:
		
							parent
							
								
									35f67fb552
								
							
						
					
					
						commit
						a22a70aaff
					
				
					 2 changed files with 36 additions and 0 deletions
				
			
		|  | @ -52,6 +52,24 @@ | |||
| HORIZONTAL='horizontal' | ||||
| VERTICAL='vertical' | ||||
| 
 | ||||
| # -tabs | ||||
| NUMERIC='numeric' | ||||
| 
 | ||||
| # -wrap | ||||
| CHAR='char' | ||||
| WORD='word' | ||||
| 
 | ||||
| # -align | ||||
| BASELINE='baseline' | ||||
| 
 | ||||
| # Special tags, marks and insert positions | ||||
| SEL='sel' | ||||
| SEL_FIRST='sel.first' | ||||
| SEL_LAST='sel.last' | ||||
| END='end' | ||||
| INSERT='insert' | ||||
| CURRENT='current' | ||||
| 
 | ||||
| def _flatten(tuple): | ||||
| 	res = () | ||||
| 	for item in tuple: | ||||
|  |  | |||
|  | @ -52,6 +52,24 @@ | |||
| HORIZONTAL='horizontal' | ||||
| VERTICAL='vertical' | ||||
| 
 | ||||
| # -tabs | ||||
| NUMERIC='numeric' | ||||
| 
 | ||||
| # -wrap | ||||
| CHAR='char' | ||||
| WORD='word' | ||||
| 
 | ||||
| # -align | ||||
| BASELINE='baseline' | ||||
| 
 | ||||
| # Special tags, marks and insert positions | ||||
| SEL='sel' | ||||
| SEL_FIRST='sel.first' | ||||
| SEL_LAST='sel.last' | ||||
| END='end' | ||||
| INSERT='insert' | ||||
| CURRENT='current' | ||||
| 
 | ||||
| def _flatten(tuple): | ||||
| 	res = () | ||||
| 	for item in tuple: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum