To demonstrate the basic technique, Listing 1 shows Python code that uses dynamic features to log all invocations of a remote method to standard error on the console.
英
美
- 为了示范基本的技术,清单1中的Python代码使用动态特性将所有的远程方法调用记录到控制台的标准错误中。