Commit 67daef56 authored by Guido van Rossum's avatar Guido van Rossum

Remove bogus type-and-refcnt setting from newsizedstringobject().

parent a5f61380
......@@ -132,9 +132,6 @@ stringrepr(op)
register int i;
register char c;
register char *p;
NEWREF(v);
v->ob_type = &Stringtype;
((stringobject *)v)->ob_size = newsize;
p = ((stringobject *)v)->ob_sval;
*p++ = '\'';
for (i = 0; i < op->ob_size; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment