예제 #1
0
 def convert_const(self, value):
     if hasattr(value, '_convert_const_ptr'):
         assert hasattr(self, 'rtyper')
         return value._convert_const_ptr(self)
     return Repr.convert_const(self, value)
예제 #2
0
파일: rstr.py 프로젝트: charred/pypy
 def __init__(self, *args):
     Repr.__init__(self, *args)
     self.rstr_decode_utf_8 = None
예제 #3
0
파일: rstr.py 프로젝트: sota/pypy-old
 def __init__(self, *args):
     Repr.__init__(self, *args)
     self.rstr_decode_utf_8 = None