77# Menghua Xiao <[email protected] >, 20218899# sunsol s <[email protected] >, 202310- # Alpha Du <[email protected] >, 20241110# Freesand Leo <[email protected] >, 202411+ # Alpha Du <[email protected] >, 20241212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2024-03-01 14:13+0000\n "
1919"PO-Revision-Date : 2021-06-28 01:11+0000\n "
20- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2024\n "
20+ "Last-Translator : Alpha Du <alphanow@gmail .com>, 2024\n "
2121"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2222"MIME-Version : 1.0\n "
2323"Content-Type : text/plain; charset=UTF-8\n "
@@ -80,6 +80,9 @@ msgid ""
8080"*args* and *kwargs* will be passed to :func:`~pprint.pprint` as formatting "
8181"parameters."
8282msgstr ""
83+ "打印 *对象* 的格式化表示,后跟换行符。如果 *sort_dicts* 为 "
84+ "false(默认),字典将按插入顺序显示键值,否则将对字典键值进行排序。*args* 和 *kwargs* 将作为格式化形参传递给 "
85+ ":func:`~pprint.pprint` 。"
8386
8487#: ../../library/pprint.rst:53
8588msgid ""
@@ -89,6 +92,9 @@ msgid ""
8992"for inspecting values (you can even reassign ``print = pprint.pprint`` for "
9093"use within a scope)."
9194msgstr ""
95+ "在 *stream* 上打印 *object* 的格式化表示形式。 如果 *stream* 为 ``None``,则会使用 "
96+ ":data:`sys.stdout` 。 这可以在交互式解释器中代替 :func:`print` 函数使用以便检查对象的值(你甚至可以通过重赋值 "
97+ "``print = pprint.pprint`` 在特定作用域内使用)。"
9298
9399#: ../../library/pprint.rst:59
94100msgid ""
@@ -148,7 +154,7 @@ msgstr "PrettyPrinter 对象"
148154
149155#: ../../library/pprint.rst:120
150156msgid "This module defines one class:"
151- msgstr ""
157+ msgstr "此模块定义了一个类: "
152158
153159#: ../../library/pprint.rst:130
154160msgid ""
@@ -163,6 +169,9 @@ msgid ""
163169"both *stream* and :data:`!sys.stdout` are ``None``, then "
164170":meth:`~PrettyPrinter.pprint` silently returns."
165171msgstr ""
172+ "*stream* (默认为 :data:`!sys.stdout`) 是一个 :term:`file-like object`,它是当调用其 "
173+ ":meth:`!write` 方法时的输出将要写入的目标。 如果 *stream* 和 :data:`!sys.stdout` 均为 "
174+ "``None``,则 :meth:`~PrettyPrinter.pprint` 将静默地返回。"
166175
167176#: ../../library/pprint.rst:138
168177msgid ""
@@ -230,7 +239,7 @@ msgstr "添加了 *underscore_numbers* 形参。"
230239
231240#: ../../library/pprint.rst:175
232241msgid "No longer attempts to write to :data:`!sys.stdout` if it is ``None``."
233- msgstr ""
242+ msgstr "如果 :data:`!sys.stdout` 为 ``None`` 则将不会尝试向其中写入。 "
234243
235244#: ../../library/pprint.rst:202
236245msgid ":class:`PrettyPrinter` instances have the following methods:"
0 commit comments