Skip to content

Commit 93a44ac

Browse files
authored
Update p11_simplify_initialization_of_data_structure.rst
字打错了
1 parent 4b04c1b commit 93a44ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c08/p11_simplify_initialization_of_data_structure.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
当一个子类定义了 ``__slots__`` 或者通过property(或描述器)来包装某个属性,
151151
那么直接访问实例字典就不起作用了。我们上面使用 ``setattr()`` 会显得更通用些,因为它也适用于子类情况。
152152

153-
这种方法唯一不好的地方就是对某些IDE而已,在显示帮助函数时可能不太友好。比如:
153+
这种方法唯一不好的地方就是对某些IDE而言,在显示帮助函数时可能不太友好。比如:
154154

155155
.. code-block:: python
156156

0 commit comments

Comments
 (0)