pypy / pypy / rpython /

Diff from to

File pypy/rpython/

 from pypy.rpython.rmodel import Repr
 from pypy.rpython.lltypesystem import lltype
 from pypy.rlib.rstring import INIT_SIZE
 from pypy.annotation.model import SomeChar, SomeUnicodeCodePoint
 class AbstractStringBuilderRepr(Repr):
     def rtyper_new(self, hop):
         if len(hop.args_v) == 0:
         vlist = hop.inputargs(self)
         return hop.gendirectcall(self.ll_is_true, *vlist)
     def convert_const(self, value):
         if not value is None:
             raise TypeError("Prebuilt builedrs that are not none unsupported")