应该是 leancloud.cloud.rpc 而不是 leancloud.cloudfunc.rpc

cloudfunc 这个模块很久以前就被重命名为 cloud 了,文档上的代码示例没有更新。
非常感谢反馈问题。我会尽快更新文档。