diff Python/compile.c @ 1405:90c5e2bb4da5 legacy-trunk

* posixmodule.c: added set{uid,gid}. * {tuple,list,mapping,array}object.c: call printobject with 0 for flags * compile.c (parsestr): use quote instead of '\'' at one crucial point * arraymodule.c (array_getattr): Added __members__ attribute
author Guido van Rossum <guido@python.org>
date Wed, 10 Nov 1993 09:23:53 +0000
parents cc172ce05561
children 06570429f062
line wrap: on
line diff
--- a/Python/compile.c	Mon Nov 08 15:10:43 1993 +0000
+++ b/Python/compile.c	Wed Nov 10 09:23:53 1993 +0000
@@ -529,7 +529,7 @@
 		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;