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

This commit is contained in:
Guido van Rossum 1992-09-03 20:44:02 +00:00
parent a5f61380f8
commit 67daef567f
1 changed files with 0 additions and 3 deletions

View File

@ -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++) {