77msgstr ""
88"Project-Id-Version :Python 3.12\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2024-03-25 00:03+0000\n "
10+ "POT-Creation-Date :2024-04-23 00:03+0000\n "
1111"PO-Revision-Date :2018-05-23 16:08+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -39,28 +39,27 @@ msgstr ""
3939#: ../../library/pprint.rst:21
4040msgid ""
4141"The formatted representation keeps objects on a single line if it can, and "
42- "breaks them onto multiple lines if they don't fit within the allowed width. "
43- "Construct :class:`PrettyPrinter` objects explicitly if you need to adjust "
44- "the width constraint."
42+ "breaks them onto multiple lines if they don't fit within the allowed width, "
43+ "adjustable by the *width* parameter defaulting to 80 characters."
4544msgstr ""
4645
47- #: ../../library/pprint.rst:26
46+ #: ../../library/pprint.rst:25
4847msgid "Dictionaries are sorted by key before the display is computed."
4948msgstr ""
5049
51- #: ../../library/pprint.rst:28
50+ #: ../../library/pprint.rst:27
5251msgid "Added support for pretty-printing :class:`types.SimpleNamespace`."
5352msgstr ""
5453
55- #: ../../library/pprint.rst:31
54+ #: ../../library/pprint.rst:30
5655msgid "Added support for pretty-printing :class:`dataclasses.dataclass`."
5756msgstr ""
5857
59- #: ../../library/pprint.rst:37
58+ #: ../../library/pprint.rst:36
6059msgid "Functions"
6160msgstr ""
6261
63- #: ../../library/pprint.rst:41
62+ #: ../../library/pprint.rst:40
6463msgid ""
6564"Prints the formatted representation of *object* followed by a newline. If "
6665"*sort_dicts* is false (the default), dictionaries will be displayed with "
@@ -69,7 +68,7 @@ msgid ""
6968"parameters."
7069msgstr ""
7170
72- #: ../../library/pprint.rst:64
71+ #: ../../library/pprint.rst:63
7372msgid ""
7473"Prints the formatted representation of *object* on *stream*, followed by a "
7574"newline. If *stream* is ``None``, :data:`sys.stdout` is used. This may be "
@@ -78,43 +77,43 @@ msgid ""
7877"use within a scope)."
7978msgstr ""
8079
81- #: ../../library/pprint.rst:70
80+ #: ../../library/pprint.rst:69
8281msgid ""
8382"The configuration parameters *stream*, *indent*, *width*, *depth*, "
8483"*compact*, *sort_dicts* and *underscore_numbers* are passed to the :class:"
8584"`PrettyPrinter` constructor and their meanings are as described in its "
8685"documentation below."
8786msgstr ""
8887
89- #: ../../library/pprint.rst:75
88+ #: ../../library/pprint.rst:74
9089msgid ""
9190"Note that *sort_dicts* is ``True`` by default and you might want to use :"
9291"func:`~pprint.pp` instead where it is ``False`` by default."
9392msgstr ""
9493
95- #: ../../library/pprint.rst:81
94+ #: ../../library/pprint.rst:80
9695msgid ""
9796"Return the formatted representation of *object* as a string. *indent*, "
9897"*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are "
9998"passed to the :class:`PrettyPrinter` constructor as formatting parameters "
10099"and their meanings are as described in its documentation below."
101100msgstr ""
102101
103- #: ../../library/pprint.rst:91
102+ #: ../../library/pprint.rst:90
104103msgid ""
105104"Determine if the formatted representation of *object* is\" readable\" , or "
106105"can be used to reconstruct the value using :func:`eval`. This always "
107106"returns ``False`` for recursive objects."
108107msgstr ""
109108
110- #: ../../library/pprint.rst:101
109+ #: ../../library/pprint.rst:100
111110msgid ""
112111"Determine if *object* requires a recursive representation. This function is "
113112"subject to the same limitations as noted in :func:`saferepr` below and may "
114113"raise an :exc:`RecursionError` if it fails to detect a recursive object."
115114msgstr ""
116115
117- #: ../../library/pprint.rst:108
116+ #: ../../library/pprint.rst:107
118117msgid ""
119118"Return a string representation of *object*, protected against recursion in "
120119"some common data structures, namely instances of :class:`dict`, :class:"
@@ -124,117 +123,117 @@ msgid ""
124123"id=number>``. The representation is not otherwise formatted."
125124msgstr ""
126125
127- #: ../../library/pprint.rst:121
126+ #: ../../library/pprint.rst:120
128127msgid "PrettyPrinter Objects"
129128msgstr "PrettyPrinter 物件"
130129
131- #: ../../library/pprint.rst:123
130+ #: ../../library/pprint.rst:122
132131msgid "This module defines one class:"
133132msgstr ""
134133
135- #: ../../library/pprint.rst:133
134+ #: ../../library/pprint.rst:132
136135msgid ""
137136"Construct a :class:`PrettyPrinter` instance. This constructor understands "
138137"several keyword parameters."
139138msgstr ""
140139
141- #: ../../library/pprint.rst:136
140+ #: ../../library/pprint.rst:135
142141msgid ""
143142"*stream* (default :data:`!sys.stdout`) is a :term:`file-like object` to "
144143"which the output will be written by calling its :meth:`!write` method. If "
145144"both *stream* and :data:`!sys.stdout` are ``None``, then :meth:"
146145"`~PrettyPrinter.pprint` silently returns."
147146msgstr ""
148147
149- #: ../../library/pprint.rst:141
148+ #: ../../library/pprint.rst:140
150149msgid ""
151150"Other values configure the manner in which nesting of complex data "
152151"structures is displayed."
153152msgstr ""
154153
155- #: ../../library/pprint.rst:144
154+ #: ../../library/pprint.rst:143
156155msgid ""
157156"*indent* (default 1) specifies the amount of indentation added for each "
158157"nesting level."
159158msgstr ""
160159
161- #: ../../library/pprint.rst:147
160+ #: ../../library/pprint.rst:146
162161msgid ""
163162"*depth* controls the number of nesting levels which may be printed; if the "
164163"data structure being printed is too deep, the next contained level is "
165164"replaced by ``...``. By default, there is no constraint on the depth of the "
166165"objects being formatted."
167166msgstr ""
168167
169- #: ../../library/pprint.rst:152
168+ #: ../../library/pprint.rst:151
170169msgid ""
171170"*width* (default 80) specifies the desired maximum number of characters per "
172171"line in the output. If a structure cannot be formatted within the width "
173172"constraint, a best effort will be made."
174173msgstr ""
175174
176- #: ../../library/pprint.rst:156
175+ #: ../../library/pprint.rst:155
177176msgid ""
178177"*compact* impacts the way that long sequences (lists, tuples, sets, etc) are "
179178"formatted. If *compact* is false (the default) then each item of a sequence "
180179"will be formatted on a separate line. If *compact* is true, as many items "
181180"as will fit within the *width* will be formatted on each output line."
182181msgstr ""
183182
184- #: ../../library/pprint.rst:162
183+ #: ../../library/pprint.rst:161
185184msgid ""
186185"If *sort_dicts* is true (the default), dictionaries will be formatted with "
187186"their keys sorted, otherwise they will display in insertion order."
188187msgstr ""
189188
190- #: ../../library/pprint.rst:165
189+ #: ../../library/pprint.rst:164
191190msgid ""
192191"If *underscore_numbers* is true, integers will be formatted with the ``_`` "
193192"character for a thousands separator, otherwise underscores are not displayed "
194193"(the default)."
195194msgstr ""
196195
197- #: ../../library/pprint.rst:169
196+ #: ../../library/pprint.rst:168
198197msgid "Added the *compact* parameter."
199198msgstr "新增 *compact* 參數。"
200199
201- #: ../../library/pprint.rst:172
200+ #: ../../library/pprint.rst:171
202201msgid "Added the *sort_dicts* parameter."
203202msgstr "新增 *sort_dicts* 參數。"
204203
205- #: ../../library/pprint.rst:175
204+ #: ../../library/pprint.rst:174
206205msgid "Added the *underscore_numbers* parameter."
207206msgstr "新增 *underscore_numbers* 參數。"
208207
209- #: ../../library/pprint.rst:178
208+ #: ../../library/pprint.rst:177
210209msgid "No longer attempts to write to :data:`!sys.stdout` if it is ``None``."
211210msgstr ""
212211
213- #: ../../library/pprint.rst:205
212+ #: ../../library/pprint.rst:204
214213msgid ":class:`PrettyPrinter` instances have the following methods:"
215214msgstr ""
216215
217- #: ../../library/pprint.rst:210
216+ #: ../../library/pprint.rst:209
218217msgid ""
219218"Return the formatted representation of *object*. This takes into account "
220219"the options passed to the :class:`PrettyPrinter` constructor."
221220msgstr ""
222221
223- #: ../../library/pprint.rst:216
222+ #: ../../library/pprint.rst:215
224223msgid ""
225224"Print the formatted representation of *object* on the configured stream, "
226225"followed by a newline."
227226msgstr ""
228227
229- #: ../../library/pprint.rst:219
228+ #: ../../library/pprint.rst:218
230229msgid ""
231230"The following methods provide the implementations for the corresponding "
232231"functions of the same names. Using these methods on an instance is slightly "
233232"more efficient since new :class:`PrettyPrinter` objects don't need to be "
234233"created."
235234msgstr ""
236235
237- #: ../../library/pprint.rst:229
236+ #: ../../library/pprint.rst:228
238237msgid ""
239238"Determine if the formatted representation of the object is\" readable,\" or "
240239"can be used to reconstruct the value using :func:`eval`. Note that this "
@@ -243,18 +242,18 @@ msgid ""
243242"returns ``False``."
244243msgstr ""
245244
246- #: ../../library/pprint.rst:238
245+ #: ../../library/pprint.rst:237
247246msgid "Determine if the object requires a recursive representation."
248247msgstr ""
249248
250- #: ../../library/pprint.rst:240
249+ #: ../../library/pprint.rst:239
251250msgid ""
252251"This method is provided as a hook to allow subclasses to modify the way "
253252"objects are converted to strings. The default implementation uses the "
254253"internals of the :func:`saferepr` implementation."
255254msgstr ""
256255
257- #: ../../library/pprint.rst:247
256+ #: ../../library/pprint.rst:246
258257msgid ""
259258"Returns three values: the formatted version of *object* as a string, a flag "
260259"indicating whether the result is readable, and a flag indicating whether "
@@ -272,45 +271,45 @@ msgid ""
272271"of the current call."
273272msgstr ""
274273
275- #: ../../library/pprint.rst:265
274+ #: ../../library/pprint.rst:264
276275msgid "Example"
277276msgstr "範例"
278277
279- #: ../../library/pprint.rst:267
278+ #: ../../library/pprint.rst:266
280279msgid ""
281280"To demonstrate several uses of the :func:`~pprint.pp` function and its "
282281"parameters, let's fetch information about a project from `PyPI <https://pypi."
283282"org>`_::"
284283msgstr ""
285284
286- #: ../../library/pprint.rst:276
285+ #: ../../library/pprint.rst:275
287286msgid "In its basic form, :func:`~pprint.pp` shows the whole object::"
288287msgstr ""
289288
290- #: ../../library/pprint.rst:332
289+ #: ../../library/pprint.rst:331
291290msgid ""
292291"The result can be limited to a certain *depth* (ellipsis is used for deeper "
293292"contents)::"
294293msgstr ""
295294
296- #: ../../library/pprint.rst:378
295+ #: ../../library/pprint.rst:377
297296msgid ""
298297"Additionally, maximum character *width* can be suggested. If a long object "
299298"cannot be split, the specified width will be exceeded::"
300299msgstr ""
301300
302- #: ../../library/pprint.rst:89 ../../library/pprint.rst:227
301+ #: ../../library/pprint.rst:88 ../../library/pprint.rst:226
303302msgid "built-in function"
304303msgstr "built-in function(內建函式)"
305304
306- #: ../../library/pprint.rst:89 ../../library/pprint.rst:227
305+ #: ../../library/pprint.rst:88 ../../library/pprint.rst:226
307306msgid "eval"
308307msgstr "eval"
309308
310- #: ../../library/pprint.rst:128
309+ #: ../../library/pprint.rst:127
311310msgid "..."
312311msgstr "..."
313312
314- #: ../../library/pprint.rst:128
313+ #: ../../library/pprint.rst:127
315314msgid "placeholder"
316315msgstr "placeholder(佔位符號)"