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.73 %" , "updated_at" : " 2023-08-26T03 :56:59Z " }
1+ {"translation" : " 89.74 %" , "updated_at" : " 2023-08-26T05 :56:54Z " }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.12\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2023-08-25 14:13 +0000\n "
16+ "POT-Creation-Date : 2023-08-25 22:29 +0000\n "
1717"PO-Revision-Date : 2021-06-28 01:15+0000\n "
1818"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
1919"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -85,6 +85,8 @@ msgid ""
8585"Otherwise, enough words are dropped from the end so that the remaining words"
8686" plus the *placeholder* fit within *width*::"
8787msgstr ""
88+ "首先 *text* 中的空格会被折叠(所有连续会替换为单个空格)。 如果结果能适合 *width*,它将被返回。 "
89+ "在其他情况下,将在末尾丢弃足够数量的单词以使剩余的单词加 *placeholder* 能适合 *width*::"
8890
8991#: ../../library/textwrap.rst:72
9092msgid ""
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ msgid ""
2222msgstr ""
2323"Project-Id-Version : Python 3.12\n "
2424"Report-Msgid-Bugs-To : \n "
25- "POT-Creation-Date : 2023-08-25 14:13 +0000\n "
25+ "POT-Creation-Date : 2023-08-25 22:29 +0000\n "
2626"PO-Revision-Date : 2021-06-28 01:50+0000\n "
2727"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2828"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -534,6 +534,11 @@ msgid ""
534534"this example it is equivalent to ``result = result + [a]``, but more "
535535"efficient."
536536msgstr ""
537+ "语句 ``result.append(a)`` 调用了列表对象 ``result`` 的 *方法*。 方法是 ‘从属于’对象的函数,其名称为 "
538+ "``obj.methodname``,其中 ``obj`` 是某个对象(可以是一个表达式),``methodname`` 是由对象的类型定义的方法名称。"
539+ " 不同的类型定义了不同的方法。 不同的类型的方法可以使用相同的名称而不会产生歧义。 (使用 *类* 可以定义自己的对象类型和方法,参见 "
540+ ":ref:`tut-classes`。) 在示例中显示的方法 :meth:`~list.append` "
541+ "是由列表对象定义的;它会在列表的末尾添加一个新元素。 在本例中它等同于 ``result = result + [a]``,但效率更高。"
537542
538543#: ../../tutorial/controlflow.rst:545
539544msgid "More on Defining Functions"
You can’t perform that action at this time.
0 commit comments