Differences between revisions 1 and 2
Revision 1 as of 2007-08-23 11:26:38
Size: 237
Editor: XiaoQi
Comment:
Revision 2 as of 2007-08-23 14:38:04
Size: 550
Editor: XiaoQi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
{{{
Border -
 * 我看到的错误:
 5.5.9 定义 UserDict 类
       if dict is not None: self.update(dict) 应为:
       if dict is not None: self.data.update(dict)
}}}
 * 回 Border,UserDict.py 里面就是这么写的,update 是 UserDict 自身的方法(dict.update 的封装)。
 - xiaq

Border -
 * 我看到的错误:
 5.5.9 定义 UserDict 类
       if dict is not None: self.update(dict)  应为:
       if dict is not None: self.data.update(dict)
  • 回 Border,UserDict.py 里面就是这么写的,update 是 UserDict 自身的方法(dict.update 的封装)。 - xiaq

没有 wiki 编辑权限的成员可以在下面留下对 Dip 5.4b 的意见。

PageComment2

DiveIntoPythonZh/Discussb (last edited 2009-12-25 07:13:59 by localhost)