diff Python/ast.c @ 75381:ed9497d6a216

Basic support for PEP 414 without docs or tests.
author Armin Ronacher <armin.ronacher@active-4.com>
date Sun, 04 Mar 2012 12:04:06 +0000
parents ffb58df8f9ea
children e00f6b8b83e8
line wrap: on
line diff
--- a/Python/ast.c	Sun Mar 04 07:15:21 2012 +0200
+++ b/Python/ast.c	Sun Mar 04 12:04:06 2012 +0000
@@ -3796,6 +3796,9 @@
                 quote = *++s;
                 *bytesmode = 1;
             }
+            else if (quote == 'u' || quote == 'U') {
+                quote = *++s;
+            }
             else if (quote == 'r' || quote == 'R') {
                 quote = *++s;
                 rawmode = 1;