mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	global _option_order is not used
This commit is contained in:
		
							parent
							
								
									e6f40ea4b6
								
							
						
					
					
						commit
						d53f6e43e7
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -31,12 +31,6 @@
 | 
				
			||||||
# (for use as attributes of some object).
 | 
					# (for use as attributes of some object).
 | 
				
			||||||
longopt_xlate = string.maketrans('-', '_')
 | 
					longopt_xlate = string.maketrans('-', '_')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This records (option, value) pairs in the order seen on the command line;
 | 
					 | 
				
			||||||
# it's close to what getopt.getopt() returns, but with short options
 | 
					 | 
				
			||||||
# expanded.  (Ugh, this module should be OO-ified.)
 | 
					 | 
				
			||||||
_option_order = None
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class FancyGetopt:
 | 
					class FancyGetopt:
 | 
				
			||||||
    """Wrapper around the standard 'getopt()' module that provides some
 | 
					    """Wrapper around the standard 'getopt()' module that provides some
 | 
				
			||||||
    handy extra functionality:
 | 
					    handy extra functionality:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue