mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue