LEFT | RIGHT |
1 /* Generated file, do not modify. See jython/src/templates/gderived.py. */ | 1 /* Generated file, do not modify. See jython/src/templates/gderived.py. */ |
2 package org.python.core; | 2 package org.python.core; |
3 | 3 |
4 public class PyBaseExceptionDerived extends PyBaseException implements Slotted { | 4 public class PyBaseExceptionDerived extends PyBaseException implements Slotted { |
5 | 5 |
6 public PyObject getSlot(int index) { | 6 public PyObject getSlot(int index) { |
7 return slots[index]; | 7 return slots[index]; |
8 } | 8 } |
9 | 9 |
10 public void setSlot(int index,PyObject value) { | 10 public void setSlot(int index,PyObject value) { |
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 if (impl!=null) { | 1107 if (impl!=null) { |
1108 PyObject res=impl.__get__(this,self_type).__call__(); | 1108 PyObject res=impl.__get__(this,self_type).__call__(); |
1109 if (!(res instanceof PyString)) | 1109 if (!(res instanceof PyString)) |
1110 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); | 1110 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); |
1111 return((PyString)res).toString(); | 1111 return((PyString)res).toString(); |
1112 } | 1112 } |
1113 return super.toString(); | 1113 return super.toString(); |
1114 } | 1114 } |
1115 | 1115 |
1116 } | 1116 } |
LEFT | RIGHT |