public static PythonObject memoryview(PythonObject pythonObject) {
        PythonObject mvF = attr("memoryview");
        PythonObject ret = mvF.call(pythonObject);
        if (ret.isNone()) {
            throw new PythonException("Cannot build memoryview from object: " + pythonObject.toString());