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