mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman.
This commit is contained in:
		
							parent
							
								
									bdbdfd731d
								
							
						
					
					
						commit
						f5a1599ebe
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -738,8 +738,8 @@ def literal(literal, p=p, pappend=a): | |||
|                 isoctal = False | ||||
|                 if s.next in DIGITS: | ||||
|                     this = this + sget() | ||||
|                     if (c in OCTDIGITS and s.next in OCTDIGITS and | ||||
|                         this[2] in OCTDIGITS): | ||||
|                     if (c in OCTDIGITS and this[2] in OCTDIGITS and | ||||
|                         s.next in OCTDIGITS): | ||||
|                         this = this + sget() | ||||
|                         isoctal = True | ||||
|                         literal(makechar(int(this[1:], 8) & 0xff)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gustavo Niemeyer
						Gustavo Niemeyer