@@ -114,15 +114,15 @@ msgstr "返回列表中元素 *x* 出现的次数。"
114114msgid ""
115115"Sort the items of the list in place (the arguments can be used for sort "
116116"customization, see :func:`sorted` for their explanation)."
117- msgstr "对列表中的元素进行排序(参数可用于自定义排序,解释请参见 :func:`sorted`)。"
117+ msgstr "就地排序列表中的元素(要了解自定义排序参数,详见 :func:`sorted`)。"
118118
119119#: ../../tutorial/datastructures.rst:91
120120msgid "Reverse the elements of the list in place."
121121msgstr "反转列表中的元素。"
122122
123123#: ../../tutorial/datastructures.rst:97
124124msgid "Return a shallow copy of the list. Equivalent to ``a[:]``."
125- msgstr "返回列表的一个浅拷贝 。相当于 ``a[:]`` 。"
125+ msgstr "返回列表的浅拷贝 。相当于 ``a[:]`` 。"
126126
127127#: ../../tutorial/datastructures.rst:100
128128msgid "An example that uses most of the list methods::"
@@ -135,8 +135,8 @@ msgid ""
135135"default ``None``. [1]_ This is a design principle for all mutable data "
136136"structures in Python."
137137msgstr ""
138- "你可能已经注意到,像 ``insert`` , ``remove`` 或者 ``sort`` 方法,只修改列表,没有打印出返回值——它们返回默认值 "
139- "``None`` 。[1]_ 这是Python中所有可变数据结构的设计原则 。"
138+ "``insert``、 ``remove``、 ``sort`` 等方法只修改列表,不输出返回值——返回的默认值为 ``None`` 。[1]_ 这是所有 "
139+ "Python 可变数据结构的设计原则 。"
140140
141141#: ../../tutorial/datastructures.rst:128
142142msgid ""
@@ -146,12 +146,12 @@ msgid ""
146146"types. Also, there are some types that don't have a defined ordering "
147147"relation. For example, ``3+4j < 5+7j`` isn't a valid comparison."
148148msgstr ""
149- "你可能会注意到的另一件事是并非所有数据或可以排序或比较。 例如,``[None, 'hello', 10]`` 就不可排序,因为整数不能与字符串比较,而 "
150- " *None* 不能与其他类型比较。 并且还存在一些没有定义顺序关系的类型。 例如,``3+4j < 5+7j`` 就不是一个合法的比较 。"
149+ "还有,不是所有数据都可以排序或比较。 例如,``[None, 'hello', 10]`` 就不可排序,因为整数不能与字符串对比,而 *None* "
150+ "不能与其他类型对比。甚至,有些类型根本就没有定义顺序关系, 例如,``3+4j < 5+7j`` 就不是有效的对比操作 。"
151151
152152#: ../../tutorial/datastructures.rst:139
153153msgid "Using Lists as Stacks"
154- msgstr "列表作为栈使用 "
154+ msgstr "列表用作堆栈 "
155155
156156#: ../../tutorial/datastructures.rst:144
157157msgid ""
0 commit comments