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 PyUnicodeDerived extends PyUnicode implements Slotted { | 4 public class PyUnicodeDerived extends PyUnicode 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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 if (res==null||res==Py.None) | 1119 if (res==null||res==Py.None) |
1120 return res; | 1120 return res; |
1121 if (!(res instanceof PyTuple)) | 1121 if (!(res instanceof PyTuple)) |
1122 throw Py.TypeError("coercion should return None or 2-tuple"); | 1122 throw Py.TypeError("coercion should return None or 2-tuple"); |
1123 return((PyTuple)res).getArray(); | 1123 return((PyTuple)res).getArray(); |
1124 } | 1124 } |
1125 return super.__coerce_ex__(o); | 1125 return super.__coerce_ex__(o); |
1126 } | 1126 } |
1127 | 1127 |
1128 } | 1128 } |
LEFT | RIGHT |