public org.python.types.Str __repr__() { java.lang.StringBuilder buffer = new java.lang.StringBuilder("["); boolean first = true; for (org.python.Object obj : this.value) { if (first) { first = false; } else { buffer.append(", "); } buffer.append(obj.__repr__()); } buffer.append("]"); return new org.python.types.Str(buffer.toString()); }
public KeyError(org.python.Object key) { super(key.__repr__().toString()); }