mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	bpo-40862: Raise TypeError when const is given to argparse.BooleanOptionalAction (GH-20623) (GH-20664)
This commit is contained in:
		
							parent
							
								
									15fec5627a
								
							
						
					
					
						commit
						d5e7348e41
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		|  | @ -857,7 +857,6 @@ class BooleanOptionalAction(Action): | |||
|     def __init__(self, | ||||
|                  option_strings, | ||||
|                  dest, | ||||
|                  const=None, | ||||
|                  default=None, | ||||
|                  type=None, | ||||
|                  choices=None, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)