@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-01-03 14:16 +0000\n "
14+ "POT-Creation-Date : 2025-10-13 15:08 +0000\n "
1515"PO-Revision-Date : 2025-09-15 01:04+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
@@ -47,22 +47,18 @@ msgid ""
4747msgstr ""
4848
4949#: ../../library/pprint.rst:25
50- msgid "Dictionaries are sorted by key before the display is computed."
51- msgstr ""
52-
53- #: ../../library/pprint.rst:27
5450msgid "Added support for pretty-printing :class:`types.SimpleNamespace`."
5551msgstr ""
5652
57- #: ../../library/pprint.rst:30
53+ #: ../../library/pprint.rst:28
5854msgid "Added support for pretty-printing :class:`dataclasses.dataclass`."
5955msgstr ""
6056
61- #: ../../library/pprint.rst:36
57+ #: ../../library/pprint.rst:34
6258msgid "Functions"
6359msgstr ""
6460
65- #: ../../library/pprint.rst:41
61+ #: ../../library/pprint.rst:39
6662msgid ""
6763"Prints the formatted representation of *object*, followed by a newline. This"
6864" function may be used in the interactive interpreter instead of the "
@@ -74,86 +70,86 @@ msgstr ""
7470msgid "Parameters"
7571msgstr ""
7672
77- #: ../../library/pprint.rst:46
73+ #: ../../library/pprint.rst:44
7874msgid "The object to be printed."
7975msgstr ""
8076
81- #: ../../library/pprint.rst:49
77+ #: ../../library/pprint.rst:47
8278msgid ""
8379"A file-like object to which the output will be written by calling its "
8480":meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is "
8581"used."
8682msgstr ""
8783
88- #: ../../library/pprint.rst:55
84+ #: ../../library/pprint.rst:53
8985msgid "The amount of indentation added for each nesting level."
9086msgstr ""
9187
92- #: ../../library/pprint.rst:58
88+ #: ../../library/pprint.rst:56
9389msgid ""
9490"The desired maximum number of characters per line in the output. If a "
9591"structure cannot be formatted within the width constraint, a best effort "
9692"will be made."
9793msgstr ""
9894
99- #: ../../library/pprint.rst:63
95+ #: ../../library/pprint.rst:61
10096msgid ""
10197"The number of nesting levels which may be printed. If the data structure "
10298"being printed is too deep, the next contained level is replaced by ``...``. "
10399"If ``None`` (the default), there is no constraint on the depth of the "
104100"objects being formatted."
105101msgstr ""
106102
107- #: ../../library/pprint.rst:71
103+ #: ../../library/pprint.rst:69
108104msgid ""
109105"Control the way long :term:`sequences <sequence>` are formatted. If "
110106"``False`` (the default), each item of a sequence will be formatted on a "
111107"separate line, otherwise as many items as will fit within the *width* will "
112108"be formatted on each output line."
113109msgstr ""
114110
115- #: ../../library/pprint.rst:78
111+ #: ../../library/pprint.rst:76
116112msgid ""
117113"If ``True``, dictionaries will be formatted with their keys sorted, "
118114"otherwise they will be displayed in insertion order (the default)."
119115msgstr ""
120116
121- #: ../../library/pprint.rst:83
117+ #: ../../library/pprint.rst:81
122118msgid ""
123119"If ``True``, integers will be formatted with the ``_`` character for a "
124120"thousands separator, otherwise underscores are not displayed (the default)."
125121msgstr ""
126122
127- #: ../../library/pprint.rst:105
123+ #: ../../library/pprint.rst:103
128124msgid ""
129125"Alias for :func:`~pprint.pp` with *sort_dicts* set to ``True`` by default, "
130126"which would automatically sort the dictionaries' keys, you might want to use"
131127" :func:`~pprint.pp` instead where it is ``False`` by default."
132128msgstr ""
133129
134- #: ../../library/pprint.rst:113
130+ #: ../../library/pprint.rst:111
135131msgid ""
136132"Return the formatted representation of *object* as a string. *indent*, "
137133"*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are "
138134"passed to the :class:`PrettyPrinter` constructor as formatting parameters "
139135"and their meanings are as described in the documentation above."
140136msgstr ""
141137
142- #: ../../library/pprint.rst:123
138+ #: ../../library/pprint.rst:121
143139msgid ""
144140"Determine if the formatted representation of *object* is \" readable\" , or "
145141"can be used to reconstruct the value using :func:`eval`. This always "
146142"returns ``False`` for recursive objects."
147143msgstr ""
148144
149- #: ../../library/pprint.rst:133
145+ #: ../../library/pprint.rst:131
150146msgid ""
151147"Determine if *object* requires a recursive representation. This function is"
152148" subject to the same limitations as noted in :func:`saferepr` below and may "
153149"raise an :exc:`RecursionError` if it fails to detect a recursive object."
154150msgstr ""
155151
156- #: ../../library/pprint.rst:140
152+ #: ../../library/pprint.rst:138
157153msgid ""
158154"Return a string representation of *object*, protected against recursion in "
159155"some common data structures, namely instances of :class:`dict`, "
@@ -163,61 +159,61 @@ msgid ""
163159"with id=number>``. The representation is not otherwise formatted."
164160msgstr ""
165161
166- #: ../../library/pprint.rst:153
162+ #: ../../library/pprint.rst:151
167163msgid "PrettyPrinter Objects"
168164msgstr ""
169165
170- #: ../../library/pprint.rst:160
166+ #: ../../library/pprint.rst:158
171167msgid "Construct a :class:`PrettyPrinter` instance."
172168msgstr ""
173169
174- #: ../../library/pprint.rst:162
170+ #: ../../library/pprint.rst:160
175171msgid ""
176172"Arguments have the same meaning as for :func:`~pprint.pp`. Note that they "
177173"are in a different order, and that *sort_dicts* defaults to ``True``."
178174msgstr ""
179175
180- #: ../../library/pprint.rst:189
176+ #: ../../library/pprint.rst:187
181177msgid "Added the *compact* parameter."
182178msgstr ""
183179
184- #: ../../library/pprint.rst:192
180+ #: ../../library/pprint.rst:190
185181msgid "Added the *sort_dicts* parameter."
186182msgstr ""
187183
188- #: ../../library/pprint.rst:195
184+ #: ../../library/pprint.rst:193
189185msgid "Added the *underscore_numbers* parameter."
190186msgstr ""
191187
192- #: ../../library/pprint.rst:198
188+ #: ../../library/pprint.rst:196
193189msgid "No longer attempts to write to :data:`!sys.stdout` if it is ``None``."
194190msgstr ""
195191
196- #: ../../library/pprint.rst:202
192+ #: ../../library/pprint.rst:200
197193msgid ":class:`PrettyPrinter` instances have the following methods:"
198194msgstr ""
199195
200- #: ../../library/pprint.rst:207
196+ #: ../../library/pprint.rst:205
201197msgid ""
202198"Return the formatted representation of *object*. This takes into account "
203199"the options passed to the :class:`PrettyPrinter` constructor."
204200msgstr ""
205201
206- #: ../../library/pprint.rst:213
202+ #: ../../library/pprint.rst:211
207203msgid ""
208204"Print the formatted representation of *object* on the configured stream, "
209205"followed by a newline."
210206msgstr ""
211207
212- #: ../../library/pprint.rst:216
208+ #: ../../library/pprint.rst:214
213209msgid ""
214210"The following methods provide the implementations for the corresponding "
215211"functions of the same names. Using these methods on an instance is slightly"
216212" more efficient since new :class:`PrettyPrinter` objects don't need to be "
217213"created."
218214msgstr ""
219215
220- #: ../../library/pprint.rst:226
216+ #: ../../library/pprint.rst:224
221217msgid ""
222218"Determine if the formatted representation of the object is \" readable,\" or "
223219"can be used to reconstruct the value using :func:`eval`. Note that this "
@@ -226,18 +222,18 @@ msgid ""
226222"returns ``False``."
227223msgstr ""
228224
229- #: ../../library/pprint.rst:235
225+ #: ../../library/pprint.rst:233
230226msgid "Determine if the object requires a recursive representation."
231227msgstr ""
232228
233- #: ../../library/pprint.rst:237
229+ #: ../../library/pprint.rst:235
234230msgid ""
235231"This method is provided as a hook to allow subclasses to modify the way "
236232"objects are converted to strings. The default implementation uses the "
237233"internals of the :func:`saferepr` implementation."
238234msgstr ""
239235
240- #: ../../library/pprint.rst:244
236+ #: ../../library/pprint.rst:242
241237msgid ""
242238"Returns three values: the formatted version of *object* as a string, a flag "
243239"indicating whether the result is readable, and a flag indicating whether "
@@ -255,18 +251,18 @@ msgid ""
255251"of the current call."
256252msgstr ""
257253
258- #: ../../library/pprint.rst:262
254+ #: ../../library/pprint.rst:260
259255msgid "Example"
260256msgstr ""
261257
262- #: ../../library/pprint.rst:264
258+ #: ../../library/pprint.rst:262
263259msgid ""
264260"To demonstrate several uses of the :func:`~pprint.pp` function and its "
265261"parameters, let's fetch information about a project from `PyPI "
266262"<https://pypi.org>`_::"
267263msgstr ""
268264
269- #: ../../library/pprint.rst:267
265+ #: ../../library/pprint.rst:265
270266msgid ""
271267">>> import json\n"
272268">>> import pprint\n"
@@ -275,11 +271,11 @@ msgid ""
275271"... project_info = json.load(resp)['info']"
276272msgstr ""
277273
278- #: ../../library/pprint.rst:273
274+ #: ../../library/pprint.rst:271
279275msgid "In its basic form, :func:`~pprint.pp` shows the whole object::"
280276msgstr ""
281277
282- #: ../../library/pprint.rst:275
278+ #: ../../library/pprint.rst:273
283279msgid ""
284280">>> pprint.pp(project_info)\n"
285281"{'author': 'The Python Packaging Authority',\n"
@@ -336,13 +332,13 @@ msgid ""
336332" 'version': '1.2.0'}"
337333msgstr ""
338334
339- #: ../../library/pprint.rst:329
335+ #: ../../library/pprint.rst:327
340336msgid ""
341337"The result can be limited to a certain *depth* (ellipsis is used for deeper "
342338"contents)::"
343339msgstr ""
344340
345- #: ../../library/pprint.rst:332
341+ #: ../../library/pprint.rst:330
346342msgid ""
347343">>> pprint.pp(project_info, depth=1)\n"
348344"{'author': 'The Python Packaging Authority',\n"
@@ -388,13 +384,13 @@ msgid ""
388384" 'version': '1.2.0'}"
389385msgstr ""
390386
391- #: ../../library/pprint.rst:375
387+ #: ../../library/pprint.rst:373
392388msgid ""
393389"Additionally, maximum character *width* can be suggested. If a long object "
394390"cannot be split, the specified width will be exceeded::"
395391msgstr ""
396392
397- #: ../../library/pprint.rst:378
393+ #: ../../library/pprint.rst:376
398394msgid ""
399395">>> pprint.pp(project_info, depth=1, width=60)\n"
400396"{'author': 'The Python Packaging Authority',\n"
@@ -443,18 +439,18 @@ msgid ""
443439" 'version': '1.2.0'}"
444440msgstr ""
445441
446- #: ../../library/pprint.rst:121 ../../library/pprint.rst:224
442+ #: ../../library/pprint.rst:119 ../../library/pprint.rst:222
447443msgid "built-in function"
448444msgstr ""
449445
450- #: ../../library/pprint.rst:121 ../../library/pprint.rst:224
446+ #: ../../library/pprint.rst:119 ../../library/pprint.rst:222
451447msgid "eval"
452448msgstr ""
453449
454- #: ../../library/pprint.rst:155
450+ #: ../../library/pprint.rst:153
455451msgid "..."
456452msgstr ""
457453
458- #: ../../library/pprint.rst:155
454+ #: ../../library/pprint.rst:153
459455msgid "placeholder"
460456msgstr ""
0 commit comments