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.modules.collections; | 2 package org.python.modules.collections; |
3 | 3 |
4 import org.python.core.*; | 4 import org.python.core.*; |
5 | 5 |
6 public class PyDequeDerived extends PyDeque implements Slotted { | 6 public class PyDequeDerived extends PyDeque implements Slotted { |
7 | 7 |
8 public PyObject getSlot(int index) { | 8 public PyObject getSlot(int index) { |
9 return slots[index]; | 9 return slots[index]; |
10 } | 10 } |
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 if (impl!=null) { | 1133 if (impl!=null) { |
1134 PyObject res=impl.__get__(this,self_type).__call__(); | 1134 PyObject res=impl.__get__(this,self_type).__call__(); |
1135 if (!(res instanceof PyString)) | 1135 if (!(res instanceof PyString)) |
1136 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); | 1136 throw Py.TypeError("__repr__ returned non-string (type "+res.get
Type().fastGetName()+")"); |
1137 return((PyString)res).toString(); | 1137 return((PyString)res).toString(); |
1138 } | 1138 } |
1139 return super.toString(); | 1139 return super.toString(); |
1140 } | 1140 } |
1141 | 1141 |
1142 } | 1142 } |
LEFT | RIGHT |