Skip to content

Commit fa0445d

Browse files
committed
Fix literal error in p07_calling_method_on_parent_class
1 parent ef3ab7e commit fa0445d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c08/p07_calling_method_on_parent_class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
>>>
151151
152152
为了弄清它的原理,我们需要花点时间解释下Python是如何实现继承的。
153-
对于你定义的每一个类而已,Python会计算出一个所谓的方法解析顺序(MRO)列表。
153+
对于你定义的每一个类,Python会计算出一个所谓的方法解析顺序(MRO)列表。
154154
这个MRO列表就是一个简单的所有基类的线性顺序表。例如:
155155

156156
.. code-block:: python

0 commit comments

Comments
 (0)