@@ -176,7 +176,7 @@ msgid ""
176176"*maps* attribute, a method for creating new subcontexts, and a property for "
177177"accessing all but the first mapping:"
178178msgstr ""
179- "支持所有常用字典方法都 。另外还有一个 *maps* 属性(attribute),一个创建子上下文的方法(method), "
179+ "支持所有常用字典方法 。另外还有一个 *maps* 属性(attribute),一个创建子上下文的方法(method), "
180180"一个存取它们首个映射的属性(property):"
181181
182182#: ../../library/collections.rst:75
@@ -196,7 +196,7 @@ msgid ""
196196"*d.maps)``. This method is used for creating subcontexts that can be "
197197"updated without altering values in any of the parent mappings."
198198msgstr ""
199- "返回一个新的 :class:`ChainMap` 类,包含了一个新映射(map),后面跟随当前实例的全部映射(map)。如果``m`` "
199+ "返回一个新的 :class:`ChainMap` 类,包含了一个新映射(map),后面跟随当前实例的全部映射(map)。如果 ``m`` "
200200"被指定,它就成为不同新的实例,就是在所有映射前加上 m,如果没有指定,就加上一个空字典,这样的话一个 ``d.new_child()`` 调用等价于 "
201201"``ChainMap({}, *d.maps)`` 。这个方法用于创建子上下文,不改变任何父映射的值。"
202202
@@ -346,7 +346,7 @@ msgid ""
346346"Return an iterator over elements repeating each as many times as its count."
347347" Elements are returned in arbitrary order. If an element's count is less "
348348"than one, :meth:`elements` will ignore it."
349- msgstr "返回一个迭代器,每个元素重复计数的个数。 元素顺序是任意的。如果一个元素的计数小于1, :meth:`elements` 就会忽略它。"
349+ msgstr "返回一个迭代器,每个元素重复计数的个数。元素顺序是任意的。如果一个元素的计数小于1, :meth:`elements` 就会忽略它。"
350350
351351#: ../../library/collections.rst:272
352352msgid ""
@@ -707,8 +707,8 @@ msgid ""
707707"slicing and deletion. For example, a pure Python implementation of ``del "
708708"d[n]`` relies on the ``rotate()`` method to position elements to be popped::"
709709msgstr ""
710- ":meth:`~deque.rotate` 方法提供了一种方式来实现 :class:`deque` 切片和删除。 例如, 一个纯的Python``del "
711- " d[n]`` 实现依赖于``rotate()`` 来定位要弹出的元素 ::"
710+ ":meth:`~deque.rotate` 方法提供了一种方式来实现 :class:`deque` 切片和删除。 例如, 一个纯的Python "
711+ "``del d[n]`` 实现依赖于 ``rotate()`` 来定位要弹出的元素 ::"
712712
713713#: ../../library/collections.rst:653
714714msgid ""
@@ -746,7 +746,7 @@ msgid ""
746746"arguments are treated the same as if they were passed to the :class:`dict` "
747747"constructor, including keyword arguments."
748748msgstr ""
749- "第一个参数:attr:`default_factory` 提供了一个初始值。它默认为 ``None`` 。所有的其他参数都等同与 "
749+ "第一个参数 :attr:`default_factory` 提供了一个初始值。它默认为 ``None`` 。所有的其他参数都等同与 "
750750":class:`dict` 构建器中的参数对待,包括关键词参数。"
751751
752752#: ../../library/collections.rst:678
@@ -806,7 +806,7 @@ msgid ""
806806"This attribute is used by the :meth:`__missing__` method; it is initialized "
807807"from the first argument to the constructor, if present, or to ``None``, if "
808808"absent."
809- msgstr "这个属性被:meth:`__missing__` 方法使用;它从构建器的第一个参数初始化,如果提供了的话,否则就是 ``None`` 。"
809+ msgstr "这个属性被 :meth:`__missing__` 方法使用;它从构建器的第一个参数初始化,如果提供了的话,否则就是 ``None`` 。"
810810
811811#: ../../library/collections.rst:714
812812msgid ":class:`defaultdict` Examples"
@@ -973,7 +973,7 @@ msgstr "移去了 *verbose* 参数和属性 :attr:`_source` 。"
973973#: ../../library/collections.rst:838
974974msgid ""
975975"Added the *defaults* parameter and the :attr:`_field_defaults` attribute."
976- msgstr "添加了 *defaults* 参数和 :attr: `_fields_defaults ` 属性。"
976+ msgstr "添加了 *defaults* 参数和 :attr:`_field_defaults ` 属性。"
977977
978978#: ../../library/collections.rst:858
979979msgid ""
@@ -1124,7 +1124,7 @@ msgid ""
11241124"out)` order if *last* is true or :abbr:`FIFO (first-in, first-out)` order if"
11251125" false."
11261126msgstr ""
1127- "有序字典的方法 :meth:`popitem` 移除一个键值对。 如果*last*值为真,键值对返回为:abbr:`LIFO (last-in, "
1127+ "有序字典的方法 :meth:`popitem` 移除一个键值对。 如果 *last* 值为真,键值对返回为 :abbr:`LIFO (last-in, "
11281128"first-out)` 后进先出顺序,否则就返回 :abbr:`FIFO (first-in, first-out)` 先进先出。"
11291129
11301130#: ../../library/collections.rst:1043
@@ -1170,7 +1170,7 @@ msgid ""
11701170"passed to the :class:`OrderedDict` constructor and its :meth:`update` "
11711171"method."
11721172msgstr ""
1173- ":pep:`468` 赞成将关键词参数的顺序保留, 通过传递 给 :class:`OrderedDict`构造器和它的 :meth:`update` "
1173+ ":pep:`468` 赞成将关键词参数的顺序保留, 通过传递给 :class:`OrderedDict` 构造器和它的 :meth:`update` "
11741174"方法。"
11751175
11761176#: ../../library/collections.rst:1078
0 commit comments