comparison Python/ast.c @ 44747:8da9ebf73026 legacy-trunk

Added bytes and b'' as aliases for str and ''
author Christian Heimes <christian@cheimes.de>
date Fri, 18 Jan 2008 18:24:07 +0000
parents db5e01c33eb7
children 393822f2ef90
comparison
equal deleted inserted replaced
44746:97a7c126d04e 44747:8da9ebf73026
3236 if (isalpha(quote) || quote == '_') { 3236 if (isalpha(quote) || quote == '_') {
3237 if (quote == 'u' || quote == 'U') { 3237 if (quote == 'u' || quote == 'U') {
3238 quote = *++s; 3238 quote = *++s;
3239 unicode = 1; 3239 unicode = 1;
3240 } 3240 }
3241 if (quote == 'b' || quote == 'B') {
3242 quote = *++s;
3243 }
3241 if (quote == 'r' || quote == 'R') { 3244 if (quote == 'r' || quote == 'R') {
3242 quote = *++s; 3245 quote = *++s;
3243 rawmode = 1; 3246 rawmode = 1;
3244 } 3247 }
3245 } 3248 }