File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ msgid ""
4040" :mod:`numbers` module regarding a type hierarchy for numbers based on "
4141"ABCs.)"
4242msgstr ""
43- "该模块提供了在 Python 中定义 :term:`抽象基类 <abstract base class>`( ABC) 的组件,在 :pep:`3119` "
44- "中已有概述。查看 PEP 文档了解为什么需要在 Python 增加这个模块 。(也可查看 :pep:`3141` 以及 :mod:`numbers` "
45- "模块了解基于 ABC 的数字类型继承关系。)"
43+ "该模块提供了在 Python 中定义 :term:`抽象基类 <abstract base class>` ( ABC) 的组件,在 "
44+ ":pep:`3119` 中已有概述。查看 PEP 文档了解为什么需要在 Python 中增加这个模块 。(也可查看 :pep:`3141` 以及 "
45+ ":mod:`numbers` 模块了解基于 ABC 的数字类型继承关系。)"
4646
4747#: ../../library/abc.rst:20
4848msgid ""
@@ -52,6 +52,9 @@ msgid ""
5252"whether a class or instance provides a particular interface, for example, if"
5353" it is hashable or if it is a mapping."
5454msgstr ""
55+ ":mod:`collections` 模块中有一些派生自 ABC "
56+ "的具体类;当然这些类还可以进一步被派生。此外,:mod:`collections.abc` 子模块中有一些 ABC "
57+ "可被用于测试一个类或实例是否提供特定的接口,例如它是否可哈希或它是否为映射等。"
5558
5659#: ../../library/abc.rst:27
5760msgid ""
You can’t perform that action at this time.
0 commit comments