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 PySuperDerived extends PySuper implements Slotted { | 4 public class PySuperDerived extends PySuper 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 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 if (impl!=null) { | 1131 if (impl!=null) { |
1132 PyObject res=impl.__get__(this,self_type).__call__(); | 1132 PyObject res=impl.__get__(this,self_type).__call__(); |
1133 if (!(res instanceof PyString)) | 1133 if (!(res instanceof PyString)) |
1134 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); | 1134 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); |
1135 return((PyString)res).toString(); | 1135 return((PyString)res).toString(); |
1136 } | 1136 } |
1137 return super.toString(); | 1137 return super.toString(); |
1138 } | 1138 } |
1139 | 1139 |
1140 } | 1140 } |
LEFT | RIGHT |