summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-10 09:23:53 (GMT)
committerGuido van Rossum <guido@python.org>1993-11-10 09:23:53 (GMT)
commita3d78fb268da5cf7cd4d990cf118bfc01650a8d9 (patch)
tree8b72efe5cef9a755ab55dd919f7e0591235b0345 /Python
parentb2e358d433e0ddbfc870d1a6ce12e7917388c2fe (diff)
downloadcpython-a3d78fb268da5cf7cd4d990cf118bfc01650a8d9.zip
cpython-a3d78fb268da5cf7cd4d990cf118bfc01650a8d9.tar.gz
cpython-a3d78fb268da5cf7cd4d990cf118bfc01650a8d9.tar.bz2
* 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
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
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;