File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 89.53%" , "updated_at" : " 2023-08-10T08 :57:17Z " }
1+ {"translation" : " 89.53%" , "updated_at" : " 2023-08-10T09 :57:08Z " }
Original file line number Diff line number Diff line change @@ -248,9 +248,9 @@ msgid ""
248248"if any of the methods used to compose the descriptor are abstract. For "
249249"example, Python's built-in :class:`property` does the equivalent of::"
250250msgstr ""
251- "为了能正确地与抽象基类机制实现互操作,描述符必须使用 :attr:`__isabstractmethod__` 将自身标识为抽象的。 "
252- "通常,如果被用于组成描述符的任何方法都是抽象的则此属性应当为 ``True``。 例如,Python 的内置 :class:`property` "
253- "所做的就等价于:: "
251+ "为了正确地与抽象基类机制互操作,描述器必须使用 :attr:`__isabstractmethod__` "
252+ "将自身标为抽象的。 通常,如果组成描述器的任一方法是抽象的,那么此属性就应为 ``True``。例如,Python 内置的 "
253+ ":class:`property` 所做的就等价于: "
254254
255255#: ../../library/abc.rst:232
256256msgid ""
@@ -261,7 +261,7 @@ msgid ""
261261"inheritance."
262262msgstr ""
263263"不同于 Java 抽象方法,这些抽象方法可能具有一个实现。 这个实现可在重载它的类上通过 :func:`super` 机制来调用。 "
264- "这在使用协作多重继承的框架中可以被用作超调用的一个端点 。"
264+ "这在使用协作多重继承的框架中可以被用作 super 调用的一个终点 。"
265265
266266#: ../../library/abc.rst:239
267267msgid "The :mod:`abc` module also supports the following legacy decorators:"
Original file line number Diff line number Diff line change @@ -838,14 +838,16 @@ msgstr ""
838838msgid ""
839839"Generate the file names in a directory tree by walking the tree either top-"
840840"down or bottom-up."
841- msgstr ""
841+ msgstr "通过对目录树自上而下或自下而上的遍历来生成其中的文件名。 "
842842
843843#: ../../library/pathlib.rst:1054
844844msgid ""
845845"For each directory in the directory tree rooted at *self* (including *self* "
846846"but excluding '.' and '..'), the method yields a 3-tuple of ``(dirpath, "
847847"dirnames, filenames)``."
848848msgstr ""
849+ "对于根位置为 *self* 的目录树中的每个目录(包括 *self* 但不包括 '.' 和 '..'),该方法会产生一个 3 元组 "
850+ "``(dirpath, dirnames, filenames)``。"
849851
850852#: ../../library/pathlib.rst:1058
851853msgid ""
You can’t perform that action at this time.
0 commit comments