mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	make assigning to a bytes literal a syntax error (closes #11506)
This commit is contained in:
		
							parent
							
								
									3780542039
								
							
						
					
					
						commit
						bd3e362089
					
				
					 3 changed files with 8 additions and 0 deletions
				
			
		|  | @ -469,6 +469,7 @@ set_context(struct compiling *c, expr_ty e, expr_context_ty ctx, const node *n) | |||
|         case Set_kind: | ||||
|         case Num_kind: | ||||
|         case Str_kind: | ||||
|         case Bytes_kind: | ||||
|             expr_name = "literal"; | ||||
|             break; | ||||
|         case Ellipsis_kind: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson