Esempio n. 1
0
def _repr(o):
    if isinstance(o, Proxy):
        return format_ty(o.typeof)
    else:
        return repr(o)
Esempio n. 2
0
def _repr(o):
    if isinstance(o, Proxy):
        return format_ty(o.typeof)
    else:
        return repr(o)
Esempio n. 3
0
 def __repr__(self):
     ty = _getattr(self, "_ty")
     if len(ty) > 1:
         return '<Proxy %s>' % format_ty(self._ty)
     else:
         return '<Proxy %s>' % format_ty(self._ty)
Esempio n. 4
0
 def __repr__(self):
     ty = _getattr(self, "_ty")
     if len(ty) > 1:
         return "<Proxy %s>" % format_ty(self._ty)
     else:
         return "<Proxy %s>" % format_ty(self._ty)