mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
* 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
This commit is contained in:
parent
b2e358d433
commit
a3d78fb268
7 changed files with 51 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue