|
⇤ ← Revision 1 as of 2007-08-23 11:26:38
Size: 237
Comment:
|
Size: 550
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)没有 wiki 编辑权限的成员可以在下面留下对 Dip 5.4b 的意见。
