diff --git a/Objects/stringobject.c b/Objects/stringobject.c index b494f96c4d9..9f8de920b24 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -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++) {