@@ -14,7 +14,8 @@ msgstr ""
14
14
"POT-Creation-Date : 2020-04-10 22:51+0000\n "
15
15
"PO-Revision-Date : 2019-09-01 03:23+0000\n "
16
16
"
Last-Translator :
Livia Cavalcanti <[email protected] >, 2019\n "
17
- "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n "
17
+ "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
18
+ "teams/5390/pt_BR/)\n "
18
19
"Language : pt_BR\n "
19
20
"MIME-Version : 1.0\n "
20
21
"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,33 +24,32 @@ msgstr ""
23
24
24
25
#: ../../library/gc.rst:2
25
26
msgid ":mod:`gc` --- Garbage Collector interface"
26
- msgstr ""
27
+ msgstr ":mod:`gc` --- Interface para o coletor de lixo "
27
28
28
29
#: ../../library/gc.rst:12
29
30
msgid ""
30
31
"This module provides an interface to the optional garbage collector. It "
31
32
"provides the ability to disable the collector, tune the collection "
32
33
"frequency, and set debugging options. It also provides access to "
33
34
"unreachable objects that the collector found but cannot free. Since the "
34
- "collector supplements the reference counting already used in Python, you can"
35
- " disable the collector if you are sure your program does not create "
36
- "reference cycles. Automatic collection can be disabled by calling "
37
- "``gc.disable()``. To debug a leaking program call "
38
- "``gc.set_debug(gc.DEBUG_LEAK)``. Notice that this includes "
39
- "``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in "
40
- "gc.garbage for inspection."
35
+ "collector supplements the reference counting already used in Python, you can "
36
+ "disable the collector if you are sure your program does not create reference "
37
+ "cycles. Automatic collection can be disabled by calling ``gc.disable()``. "
38
+ "To debug a leaking program call ``gc.set_debug(gc.DEBUG_LEAK)``. Notice that "
39
+ "this includes ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be "
40
+ "saved in gc.garbage for inspection."
41
41
msgstr ""
42
42
"Este módulo fornece uma interface para o opcional garbage collector. Ele "
43
43
"disponibiliza a habilidade de desabilitar o collector, ajustar a frequência "
44
44
"da coleção, e configurar as opções de depuração. Ele também fornece acesso "
45
45
"para objetos inacessíveis que o collector encontra mas não pode \" limpar\" . "
46
46
"Como o collector complementa a contagem de referência já usada em Python, "
47
- "você pode desabilitar o collector se você tem certeza que o seu programa não"
48
- " cria ciclos de referências. A coleta automática pode ser desabilitada pela "
49
- "chamada ``gc.disable()``. Para depurar um programa vazando, chame "
50
- "``gc. set_debug(gc.DEBUG_LEAK)``. Perceba que isto inclui "
51
- "``gc.DEBUG_SAVEALL``, fazendo com que objetos coletados pelo garbage-"
52
- "collector sejam salvos para inspeção em gc.garbage."
47
+ "você pode desabilitar o collector se você tem certeza que o seu programa não "
48
+ "cria ciclos de referências. A coleta automática pode ser desabilitada pela "
49
+ "chamada ``gc.disable()``. Para depurar um programa vazando, chame ``gc. "
50
+ "set_debug(gc.DEBUG_LEAK)``. Perceba que isto inclui ``gc.DEBUG_SAVEALL``, "
51
+ "fazendo com que objetos coletados pelo garbage-collector sejam salvos para "
52
+ "inspeção em gc.garbage."
53
53
54
54
#: ../../library/gc.rst:23
55
55
msgid "The :mod:`gc` module provides the following functions:"
@@ -61,11 +61,11 @@ msgstr ""
61
61
62
62
#: ../../library/gc.rst:33
63
63
msgid "Disable automatic garbage collection."
64
- msgstr ""
64
+ msgstr "Desabilita a coleta de lixo automática. "
65
65
66
66
#: ../../library/gc.rst:38
67
67
msgid "Return ``True`` if automatic collection is enabled."
68
- msgstr ""
68
+ msgstr "Retorna ``True`` se a coleta automática estiver habilitada. "
69
69
70
70
#: ../../library/gc.rst:43
71
71
msgid ""
@@ -92,7 +92,7 @@ msgstr ""
92
92
93
93
#: ../../library/gc.rst:63
94
94
msgid "Return the debugging flags currently set."
95
- msgstr ""
95
+ msgstr "Retorna os sinalizadores de depuração atualmente definidos. "
96
96
97
97
#: ../../library/gc.rst:68
98
98
msgid ""
@@ -158,11 +158,13 @@ msgid ""
158
158
"Return the current collection thresholds as a tuple of ``(threshold0, "
159
159
"threshold1, threshold2)``."
160
160
msgstr ""
161
+ "Retorna os limites da coleta atual como uma tupla de ``(threshold0, "
162
+ "threshold1, threshold2)``."
161
163
162
164
#: ../../library/gc.rst:125
163
165
msgid ""
164
- "Return the list of objects that directly refer to any of objs. This function"
165
- " will only locate those containers which support garbage collection; "
166
+ "Return the list of objects that directly refer to any of objs. This function "
167
+ "will only locate those containers which support garbage collection; "
166
168
"extension types which do refer to other objects but do not support garbage "
167
169
"collection will not be found."
168
170
msgstr ""
@@ -179,20 +181,20 @@ msgstr ""
179
181
msgid ""
180
182
"Care must be taken when using objects returned by :func:`get_referrers` "
181
183
"because some of them could still be under construction and hence in a "
182
- "temporarily invalid state. Avoid using :func:`get_referrers` for any purpose"
183
- " other than debugging."
184
+ "temporarily invalid state. Avoid using :func:`get_referrers` for any purpose "
185
+ "other than debugging."
184
186
msgstr ""
185
187
186
188
#: ../../library/gc.rst:143
187
189
msgid ""
188
190
"Return a list of objects directly referred to by any of the arguments. The "
189
- "referents returned are those objects visited by the arguments' C-level "
190
- ":c: member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
191
+ "referents returned are those objects visited by the arguments' C-level :c: "
192
+ "member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
191
193
"objects actually directly reachable. :c:member:`~PyTypeObject.tp_traverse` "
192
194
"methods are supported only by objects that support garbage collection, and "
193
- "are only required to visit objects that may be involved in a cycle. So, for"
194
- " example, if an integer is directly reachable from an argument, that integer"
195
- " object may or may not appear in the result list."
195
+ "are only required to visit objects that may be involved in a cycle. So, for "
196
+ "example, if an integer is directly reachable from an argument, that integer "
197
+ "object may or may not appear in the result list."
196
198
msgstr ""
197
199
198
200
#: ../../library/gc.rst:154
@@ -209,8 +211,8 @@ msgstr ""
209
211
msgid ""
210
212
"Freeze all the objects tracked by gc - move them to a permanent generation "
211
213
"and ignore all the future collections. This can be used before a POSIX "
212
- "fork() call to make the gc copy-on-write friendly or to speed up collection."
213
- " Also collection before a POSIX fork() call may free pages for future "
214
+ "fork() call to make the gc copy-on-write friendly or to speed up collection. "
215
+ "Also collection before a POSIX fork() call may free pages for future "
214
216
"allocation which can cause copy-on-write too so it's advised to disable gc "
215
217
"in master process and freeze before fork and enable gc in child process."
216
218
msgstr ""
@@ -235,35 +237,35 @@ msgstr ""
235
237
msgid ""
236
238
"A list of objects which the collector found to be unreachable but could not "
237
239
"be freed (uncollectable objects). Starting with Python 3.4, this list "
238
- "should be empty most of the time, except when using instances of C extension"
239
- " types with a non-``NULL`` ``tp_del`` slot."
240
+ "should be empty most of the time, except when using instances of C extension "
241
+ "types with a non-``NULL`` ``tp_del`` slot."
240
242
msgstr ""
241
243
242
244
#: ../../library/gc.rst:214
243
245
msgid ""
244
- "If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added"
245
- " to this list rather than freed."
246
+ "If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added "
247
+ "to this list rather than freed."
246
248
msgstr ""
247
249
248
250
#: ../../library/gc.rst:217
249
251
msgid ""
250
- "If this list is non-empty at :term:`interpreter shutdown`, a "
251
- ":exc: `ResourceWarning` is emitted, which is silent by default. If "
252
- ":const: `DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects "
253
- "are printed."
252
+ "If this list is non-empty at :term:`interpreter shutdown`, a :exc: "
253
+ "`ResourceWarning` is emitted, which is silent by default. If :const: "
254
+ "`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects are "
255
+ "printed."
254
256
msgstr ""
255
257
256
258
#: ../../library/gc.rst:223
257
259
msgid ""
258
- "Following :pep:`442`, objects with a :meth:`__del__` method don't end up in "
259
- ": attr:`gc.garbage` anymore."
260
+ "Following :pep:`442`, objects with a :meth:`__del__` method don't end up in : "
261
+ "attr:`gc.garbage` anymore."
260
262
msgstr ""
261
263
262
264
#: ../../library/gc.rst:229
263
265
msgid ""
264
- "A list of callbacks that will be invoked by the garbage collector before and"
265
- " after collection. The callbacks will be called with two arguments, *phase*"
266
- " and *info*."
266
+ "A list of callbacks that will be invoked by the garbage collector before and "
267
+ "after collection. The callbacks will be called with two arguments, *phase* "
268
+ "and *info*."
267
269
msgstr ""
268
270
269
271
#: ../../library/gc.rst:233
@@ -280,8 +282,8 @@ msgstr ""
280
282
281
283
#: ../../library/gc.rst:239
282
284
msgid ""
283
- "*info* is a dict providing more information for the callback. The following"
284
- " keys are currently defined:"
285
+ "*info* is a dict providing more information for the callback. The following "
286
+ "keys are currently defined:"
285
287
msgstr ""
286
288
287
289
#: ../../library/gc.rst:242
@@ -347,13 +349,13 @@ msgstr ""
347
349
348
350
#: ../../library/gc.rst:289
349
351
msgid ""
350
- "When set, all unreachable objects found will be appended to *garbage* rather"
351
- " than being freed. This can be useful for debugging a leaking program."
352
+ "When set, all unreachable objects found will be appended to *garbage* rather "
353
+ "than being freed. This can be useful for debugging a leaking program."
352
354
msgstr ""
353
355
354
356
#: ../../library/gc.rst:295
355
357
msgid ""
356
- "The debugging flags necessary for the collector to print information about a"
357
- " leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
358
+ "The debugging flags necessary for the collector to print information about a "
359
+ "leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
358
360
"DEBUG_SAVEALL``)."
359
361
msgstr ""
0 commit comments