diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 565c65c..9ce3a33 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -529,7 +529,7 @@ parsestr(s) return newsizedstringobject(s, len); v = newsizedstringobject((char *)NULL, len); p = buf = getstringvalue(v); - while (*s != '\0' && *s != '\'') { + while (*s != '\0' && *s != quote) { if (*s != '\\') { *p++ = *s++; continue; |