diff options
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 33fe485..cba8c92 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -60,7 +60,7 @@ newstringobject(str) return (object *) op; } -void +static void string_dealloc(op) object *op; { @@ -676,6 +676,8 @@ formatstring(format, args) "unsupported format character"); goto error; } + /* XXX There's a bug somewhere here so that + XXX '%4d'%-1 yields '- 1' ... */ if (sign) { if (*buf == '-' || *buf == '+') { sign = *buf++; |