diff options
author | Guido van Rossum <guido@python.org> | 1993-11-10 09:23:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-11-10 09:23:53 (GMT) |
commit | a3d78fb268da5cf7cd4d990cf118bfc01650a8d9 (patch) | |
tree | 8b72efe5cef9a755ab55dd919f7e0591235b0345 /Objects | |
parent | b2e358d433e0ddbfc870d1a6ce12e7917388c2fe (diff) | |
download | cpython-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 'Objects')
-rw-r--r-- | Objects/dictobject.c | 4 | ||||
-rw-r--r-- | Objects/listobject.c | 2 | ||||
-rw-r--r-- | Objects/mappingobject.c | 4 | ||||
-rw-r--r-- | Objects/tupleobject.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index b89b7b2..c1c1c19 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -395,10 +395,10 @@ mapping_print(mp, fp, flags) if (ep->me_value != NULL) { if (any++ > 0) fprintf(fp, ", "); - if (printobject((object *)ep->me_key, fp, flags) != 0) + if (printobject((object *)ep->me_key, fp, 0) != 0) return -1; fprintf(fp, ": "); - if (printobject(ep->me_value, fp, flags) != 0) + if (printobject(ep->me_value, fp, 0) != 0) return -1; } } diff --git a/Objects/listobject.c b/Objects/listobject.c index 22eab71..76d2a0e 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -200,7 +200,7 @@ list_print(op, fp, flags) for (i = 0; i < op->ob_size; i++) { if (i > 0) fprintf(fp, ", "); - if (printobject(op->ob_item[i], fp, flags) != 0) + if (printobject(op->ob_item[i], fp, 0) != 0) return -1; } fprintf(fp, "]"); diff --git a/Objects/mappingobject.c b/Objects/mappingobject.c index b89b7b2..c1c1c19 100644 --- a/Objects/mappingobject.c +++ b/Objects/mappingobject.c @@ -395,10 +395,10 @@ mapping_print(mp, fp, flags) if (ep->me_value != NULL) { if (any++ > 0) fprintf(fp, ", "); - if (printobject((object *)ep->me_key, fp, flags) != 0) + if (printobject((object *)ep->me_key, fp, 0) != 0) return -1; fprintf(fp, ": "); - if (printobject(ep->me_value, fp, flags) != 0) + if (printobject(ep->me_value, fp, 0) != 0) return -1; } } diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 68fed9e..6f122ea 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -167,7 +167,7 @@ tupleprint(op, fp, flags) for (i = 0; i < op->ob_size; i++) { if (i > 0) fprintf(fp, ", "); - if (printobject(op->ob_item[i], fp, flags) != 0) + if (printobject(op->ob_item[i], fp, 0) != 0) return -1; } if (op->ob_size == 1) |