11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2022 , Python Software Foundation
2+ # Copyright (C) 2001-2023 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # eric R <[email protected] >, 20218- # cissoid <[email protected] >, 20219- # wenhui <[email protected] >, 202110- # Alpha Du <[email protected] >, 202111- # Jarry Shaw <[email protected] >, 202112- # Freesand Leo <[email protected] >, 20217+ # Rafael Fontenelle <[email protected] >, 2023138#
149#, fuzzy
1510msgid ""
1611msgstr ""
17- "Project-Id-Version : Python 3.10 \n "
12+ "Project-Id-Version : Python 3.11 \n "
1813"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2022-11-04 14:28 +0000\n "
20- "PO-Revision-Date : 2021-06-28 00:54 +0000\n "
21- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021 \n "
22- "Language-Team : Chinese (China) (https://www .transifex.com/python-doc/teams/5390/zh_CN/)\n "
14+ "POT-Creation-Date : 2023-08-11 14:43 +0000\n "
15+ "PO-Revision-Date : 2023-05-24 02:12 +0000\n "
16+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail .com>, 2023 \n "
17+ "Language-Team : Chinese (China) (https://app .transifex.com/python-doc/teams/5390/zh_CN/)\n "
2318"MIME-Version : 1.0\n "
2419"Content-Type : text/plain; charset=UTF-8\n "
2520"Content-Transfer-Encoding : 8bit\n "
@@ -52,11 +47,11 @@ msgid ""
5247"ABCs; these can, of course, be further derived. In addition, the "
5348":mod:`collections.abc` submodule has some ABCs that can be used to test "
5449"whether a class or instance provides a particular interface, for example, if"
55- " it is hashable or if it is a mapping."
50+ " it is :term:` hashable` or if it is a mapping."
5651msgstr ""
57- ":mod:`collections` 模块中有一些派生自 ABC "
58- "的具体类;当然这些类还可以进一步被派生。 此外,:mod:`collections.abc` 子模块中有一些 ABC "
59- "可被用于测试一个类或实例是否提供特定的接口,例如它是否可哈希或它是否为映射等 。"
52+ ":mod:`collections` 模块中有一些派生自 ABC 的实体类;当然,这些类还可以进一步被派生。 "
53+ "此外,:mod:`collections.abc` 子模块中有一些可被用于测试一个类或实例是否提供了特定接口的 ABC,例如,它是否为 "
54+ ":term:`hashable` 或者是否为映射等 。"
6055
6156#: ../../library/abc.rst:27
6257msgid ""
@@ -194,9 +189,9 @@ msgid ""
194189":meth:`__getitem__`). Note that this will not make ``get_iterator`` "
195190"available as a method of ``Foo``, so it is provided separately."
196191msgstr ""
197- "最后,末尾行使得 ``Foo`` 成为 ``MyIterable`` 的一个虚子类,即使它没有定义 :meth:`~iterator.__iter__` "
198- " 方法(它使用了以 :meth:`__len__` 和 :meth:`__getitem__` 术语定义的旧式可迭代对象协议)。 请注意这将不会使 "
199- "``get_iterator`` 成为 ``Foo`` 的一个可用方法,它是被另外提供的 。"
192+ "最后,末尾行使得 ``Foo`` 成为 ``MyIterable`` 的一个虚子类,即便它并没有定义 "
193+ ":meth:`~iterator.__iter__` 方法(它使用了以 :meth:`__len__` 和 :meth:`__getitem__` "
194+ "术语定义的旧式可迭代对象协议)。注意这将不会使 ``get_iterator`` 成为对 ``Foo`` 来说可用的方法,所以也另外提供了一个它 。"
200195
201196#: ../../library/abc.rst:163
202197msgid "The :mod:`abc` module also provides the following decorator:"
@@ -247,9 +242,9 @@ msgid ""
247242"if any of the methods used to compose the descriptor are abstract. For "
248243"example, Python's built-in :class:`property` does the equivalent of::"
249244msgstr ""
250- "为了能正确地与抽象基类机制实现互操作,描述符必须使用 :attr:`__isabstractmethod__` 将自身标识为抽象的。 "
251- "通常,如果被用于组成描述符的任何方法都是抽象的则此属性应当为 ``True``。 例如,Python 的内置 :class:`property` "
252- "所做的就等价于:: "
245+ "为了正确地与抽象基类机制互操作,描述器必须使用 :attr:`__isabstractmethod__` "
246+ "将自身标为抽象的。 通常,如果组成描述器的任一方法是抽象的,那么此属性就应为 ``True``。例如,Python 内置的 "
247+ ":class:`property` 所做的就等价于: "
253248
254249#: ../../library/abc.rst:232
255250msgid ""
@@ -260,7 +255,7 @@ msgid ""
260255"inheritance."
261256msgstr ""
262257"不同于 Java 抽象方法,这些抽象方法可能具有一个实现。 这个实现可在重载它的类上通过 :func:`super` 机制来调用。 "
263- "这在使用协作多重继承的框架中可以被用作超调用的一个端点 。"
258+ "这在使用协作多重继承的框架中可以被用作 super 调用的一个终点 。"
264259
265260#: ../../library/abc.rst:239
266261msgid "The :mod:`abc` module also supports the following legacy decorators:"
0 commit comments