dict = subtype.instDict();
}
public PyString __str__() {
PyType self_type = getType();
PyObject impl = self_type.lookup("__str__");
if (impl != null) {
PyObject res = impl.__get__(this, self_type).__call__();
if (res instanceof PyString)
return (PyString) res;
throw Py.TypeError("__str__" + " should return a " + "string");