Skip to content

Commit 0ce9547

Browse files
authored
Merge pull request #210 from yunyu2019/master
第九章第17节语句不通的问题
2 parents 83ae29b + 0909fa2 commit 0ce9547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/c09/p17_enforce_coding_conventions_in_classes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
它只能在类的实例被创建之后,并且相应的方法解析顺序也已经被设置好了。
143143

144144
最后一个例子还演示了Python的函数签名对象的使用。
145-
实际上,元类会管理中每个一个调用定义,搜索前一个定义(如果有的话),
145+
实际上,元类将每个可调用定义放在一个类中,搜索前一个定义(如果有的话),
146146
然后通过使用 ``inspect.signature()`` 来简单的比较它们的调用签名。
147147

148148
最后一点,代码中有一行使用了 ``super(self, self)`` 并不是排版错误。

0 commit comments

Comments
 (0)