*/
    public final PyList tolist() {
        if (this.dimensions.length == 0) { throw Py
                .ValueError("Can't convert a 0d array to a list"); }
        final PyObject[] items = new PyObject[this.dimensions[0]];
        if (this.dimensions.length == 1) {
            for (int i = 0; i < this.dimensions[0]; i++) {
                items[i] = this.get(i);
            }
        } else {
            for (int i = 0; i < this.dimensions[0]; i++) {
                items[i] = ((PyMultiarray) this.get(i)).tolist();
            }
        }
        return new PyList(items);
    }