Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1412a32

Browse files
[po] auto sync
1 parent 8b7ab2a commit 1412a32

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tutorial/datastructures.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ msgstr ""
7272
msgid ""
7373
"Remove the first item from the list whose value is equal to *x*. It raises "
7474
"a :exc:`ValueError` if there is no such item."
75-
msgstr "从列表中删除第一个值为 *x* 的元素。如果没找到指定元素,则触发 :exc:`ValueError` 异常。"
75+
msgstr "从列表中删除第一个值为 *x* 的元素。未找到指定元素时,触发 :exc:`ValueError` 异常。"
7676

7777
#: ../../tutorial/datastructures.rst:50
7878
msgid ""
@@ -83,18 +83,18 @@ msgid ""
8383
"that position. You will see this notation frequently in the Python Library "
8484
"Reference.)"
8585
msgstr ""
86-
"删除列表中给定位置的元素并返回它。如果没有给定位置,``a.pop()`` 将会删除并返回列表中的最后一个元素。( 方法签名中 *i* "
87-
"两边的方括号表示这个参数是可选的,而不是要你输入方括号。你会在 Python 参考库中经常看到这种表示方法)。"
86+
"删除列表中指定位置的元素,并返回被删除的元素。未指定位置时,``a.pop()`` 删除并返回列表的最后一个元素。(方法签名中 *i* "
87+
"两边的方括号表示该参数是可选的,不是要求输入方括号。这种表示法常见于 Python 参考库)。"
8888

8989
#: ../../tutorial/datastructures.rst:60
9090
msgid "Remove all items from the list. Equivalent to ``del a[:]``."
91-
msgstr "删除列表中所有的元素。相当于 ``del a[:]`` 。"
91+
msgstr "删除所有列表元素。相当于 ``del a[:]`` 。"
9292

9393
#: ../../tutorial/datastructures.rst:66
9494
msgid ""
9595
"Return zero-based index in the list of the first item whose value is equal "
9696
"to *x*. Raises a :exc:`ValueError` if there is no such item."
97-
msgstr "返回列表中第一个值为 *x* 的元素的从零开始的索引。如果没有这样的元素将会抛出 :exc:`ValueError` 异常。"
97+
msgstr "返回列表中第一个值为 *x* 的元素的零基索引。未找到指定元素时,触发 :exc:`ValueError` 异常。"
9898

9999
#: ../../tutorial/datastructures.rst:69
100100
msgid ""
@@ -108,7 +108,7 @@ msgstr ""
108108

109109
#: ../../tutorial/datastructures.rst:78
110110
msgid "Return the number of times *x* appears in the list."
111-
msgstr "返回元素 *x* 在列表中出现的次数。"
111+
msgstr "返回列表中,元素 *x* 出现的次数。"
112112

113113
#: ../../tutorial/datastructures.rst:84
114114
msgid ""

0 commit comments

Comments
 (0)