Skip to content

Update p18_extending_classes_with_mixins.rst #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/c08/p18_extending_classes_with_mixins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
----------
讨论
----------
混入类在标志库中很多地方都出现过,通常都是用来像上面那样扩展某些类的功能。
混入类在标准库中很多地方都出现过,通常都是用来像上面那样扩展某些类的功能。
它们也是多继承的一个主要用途。比如,当你编写网络代码时候,
你会经常使用 ``socketserver`` 模块中的 ``ThreadingMixIn`` 来给其他网络相关类增加多线程支持。
例如,下面是一个多线程的XML-RPC服务:
Expand Down