mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Bytes literal.
This commit is contained in:
		
							parent
							
								
									cf297e46b8
								
							
						
					
					
						commit
						00e41defe8
					
				
					 15 changed files with 179 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -930,6 +930,10 @@ def visitDiscard(self, node):
 | 
			
		|||
 | 
			
		||||
    def visitConst(self, node):
 | 
			
		||||
        self.emit('LOAD_CONST', node.value)
 | 
			
		||||
    
 | 
			
		||||
    def visitBytes(self, node):
 | 
			
		||||
        self.emit('LOAD_CONST', node.value)
 | 
			
		||||
        self.emit('MAKE_BYTES')
 | 
			
		||||
 | 
			
		||||
    def visitKeyword(self, node):
 | 
			
		||||
        self.emit('LOAD_CONST', node.name)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue