Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2007-08-23 14:38:04
Size: 550
Editor: XiaoQi
Comment:
Revision 5 as of 2009-12-25 07:13:59
Size: 532
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## Plz leave your comments on Dip 4.5b here. Please follow this format: ## Plz leave your comments on Dip 5.4b here. Please follow this format:
Line 3: Line 3:
## [YourName] -
Line 5: Line 4:
## - [YourName]
Line 8: Line 8:
Border -
Line 13: Line 12:
 - Border
Line 19: Line 19:
[[PageComment2]]

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

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

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