mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.
All buildbots compile with UCS2...
This commit is contained in:
		
							parent
							
								
									a113bd9f69
								
							
						
					
					
						commit
						fac02faed8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3095,7 +3095,7 @@ PyObject *PyUnicode_DecodeRawUnicodeEscape(const char *s, | ||||||
|                 /* UCS-4 character. Either store directly, or as
 |                 /* UCS-4 character. Either store directly, or as
 | ||||||
|                    surrogate pair. */ |                    surrogate pair. */ | ||||||
| #ifdef Py_UNICODE_WIDE | #ifdef Py_UNICODE_WIDE | ||||||
|                 *p++ = (Py_UNIC0DE) x; |                 *p++ = (Py_UNICODE) x; | ||||||
| #else | #else | ||||||
|                 x -= 0x10000L; |                 x -= 0x10000L; | ||||||
|                 *p++ = 0xD800 + (Py_UNICODE) (x >> 10); |                 *p++ = 0xD800 + (Py_UNICODE) (x >> 10); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Amaury Forgeot d'Arc
						Amaury Forgeot d'Arc