public PyObject __add__(PyObject other) { PyType self_type=getType(); PyObject impl=self_type.lookup("__add__"); if (impl!=null) { PyObject res=impl.__get__(this,self_type).__call__(other); if (res==Py.NotImplemented) return null; return res; } return super.__add__(other); }
byte[] unusedbuf = new byte[compressedData.available()]; compressedData.read(unusedbuf); unused_data = (PyString)unused_data.__add__((new PyByteArray(unusedbuf)).__str__());