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