@@ -14,7 +14,8 @@ msgstr ""
1414"POT-Creation-Date : 2020-02-09 12:40+0000\n "
1515"PO-Revision-Date : 2017-02-16 23:12+0000\n "
1616"Last-Translator : Livia Cavalcanti <livia.juliao@ccc.ufcg.edu.br>, 2017\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 "
1819"Language : pt_BR\n "
1920"MIME-Version : 1.0\n "
2021"Content-Type : text/plain; charset=UTF-8\n "
@@ -31,33 +32,32 @@ msgid ""
3132"provides the ability to disable the collector, tune the collection "
3233"frequency, and set debugging options. It also provides access to "
3334"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."
4141msgstr ""
4242"Este módulo fornece uma interface para o opcional garbage collector. Ele "
4343"disponibiliza a habilidade de desabilitar o collector, ajustar a frequência "
4444"da coleção, e configurar as opções de depuração. Ele também fornece acesso "
4545"para objetos inacessíveis que o collector encontra mas não pode \" limpar\" . "
4646"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."
5353
5454#: ../../library/gc.rst:23
5555msgid "The :mod:`gc` module provides the following functions:"
56- msgstr ""
56+ msgstr "O módulo :mod:`gc` fornece as seguintes funções: "
5757
5858#: ../../library/gc.rst:28
5959msgid "Enable automatic garbage collection."
60- msgstr ""
60+ msgstr "Habilita a coleta de lixo automática. "
6161
6262#: ../../library/gc.rst:33
6363msgid "Disable automatic garbage collection."
@@ -168,8 +168,8 @@ msgstr ""
168168
169169#: ../../library/gc.rst:128
170170msgid ""
171- "Return the list of objects that directly refer to any of objs. This function"
172- " will only locate those containers which support garbage collection; "
171+ "Return the list of objects that directly refer to any of objs. This function "
172+ "will only locate those containers which support garbage collection; "
173173"extension types which do refer to other objects but do not support garbage "
174174"collection will not be found."
175175msgstr ""
@@ -186,20 +186,20 @@ msgstr ""
186186msgid ""
187187"Care must be taken when using objects returned by :func:`get_referrers` "
188188"because some of them could still be under construction and hence in a "
189- "temporarily invalid state. Avoid using :func:`get_referrers` for any purpose"
190- " other than debugging."
189+ "temporarily invalid state. Avoid using :func:`get_referrers` for any purpose "
190+ "other than debugging."
191191msgstr ""
192192
193193#: ../../library/gc.rst:146
194194msgid ""
195195"Return a list of objects directly referred to by any of the arguments. The "
196- "referents returned are those objects visited by the arguments' C-level "
197- ":c: member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
196+ "referents returned are those objects visited by the arguments' C-level :c: "
197+ "member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
198198"objects actually directly reachable. :c:member:`~PyTypeObject.tp_traverse` "
199199"methods are supported only by objects that support garbage collection, and "
200- "are only required to visit objects that may be involved in a cycle. So, for"
201- " example, if an integer is directly reachable from an argument, that integer"
202- " object may or may not appear in the result list."
200+ "are only required to visit objects that may be involved in a cycle. So, for "
201+ "example, if an integer is directly reachable from an argument, that integer "
202+ "object may or may not appear in the result list."
203203msgstr ""
204204
205205#: ../../library/gc.rst:157
@@ -216,8 +216,8 @@ msgstr ""
216216msgid ""
217217"Freeze all the objects tracked by gc - move them to a permanent generation "
218218"and ignore all the future collections. This can be used before a POSIX "
219- "fork() call to make the gc copy-on-write friendly or to speed up collection."
220- " Also collection before a POSIX fork() call may free pages for future "
219+ "fork() call to make the gc copy-on-write friendly or to speed up collection. "
220+ "Also collection before a POSIX fork() call may free pages for future "
221221"allocation which can cause copy-on-write too so it's advised to disable gc "
222222"in parent process and freeze before fork and enable gc in child process."
223223msgstr ""
@@ -242,35 +242,35 @@ msgstr ""
242242msgid ""
243243"A list of objects which the collector found to be unreachable but could not "
244244"be freed (uncollectable objects). Starting with Python 3.4, this list "
245- "should be empty most of the time, except when using instances of C extension"
246- " types with a non-``NULL`` ``tp_del`` slot."
245+ "should be empty most of the time, except when using instances of C extension "
246+ "types with a non-``NULL`` ``tp_del`` slot."
247247msgstr ""
248248
249249#: ../../library/gc.rst:217
250250msgid ""
251- "If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added"
252- " to this list rather than freed."
251+ "If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added "
252+ "to this list rather than freed."
253253msgstr ""
254254
255255#: ../../library/gc.rst:220
256256msgid ""
257- "If this list is non-empty at :term:`interpreter shutdown`, a "
258- ":exc: `ResourceWarning` is emitted, which is silent by default. If "
259- ":const: `DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects "
260- "are printed."
257+ "If this list is non-empty at :term:`interpreter shutdown`, a :exc: "
258+ "`ResourceWarning` is emitted, which is silent by default. If :const: "
259+ "`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects are "
260+ "printed."
261261msgstr ""
262262
263263#: ../../library/gc.rst:226
264264msgid ""
265- "Following :pep:`442`, objects with a :meth:`__del__` method don't end up in "
266- ": attr:`gc.garbage` anymore."
265+ "Following :pep:`442`, objects with a :meth:`__del__` method don't end up in : "
266+ "attr:`gc.garbage` anymore."
267267msgstr ""
268268
269269#: ../../library/gc.rst:232
270270msgid ""
271- "A list of callbacks that will be invoked by the garbage collector before and"
272- " after collection. The callbacks will be called with two arguments, *phase*"
273- " and *info*."
271+ "A list of callbacks that will be invoked by the garbage collector before and "
272+ "after collection. The callbacks will be called with two arguments, *phase* "
273+ "and *info*."
274274msgstr ""
275275
276276#: ../../library/gc.rst:236
@@ -287,8 +287,8 @@ msgstr ""
287287
288288#: ../../library/gc.rst:242
289289msgid ""
290- "*info* is a dict providing more information for the callback. The following"
291- " keys are currently defined:"
290+ "*info* is a dict providing more information for the callback. The following "
291+ "keys are currently defined:"
292292msgstr ""
293293
294294#: ../../library/gc.rst:245
@@ -354,13 +354,13 @@ msgstr ""
354354
355355#: ../../library/gc.rst:292
356356msgid ""
357- "When set, all unreachable objects found will be appended to *garbage* rather"
358- " than being freed. This can be useful for debugging a leaking program."
357+ "When set, all unreachable objects found will be appended to *garbage* rather "
358+ "than being freed. This can be useful for debugging a leaking program."
359359msgstr ""
360360
361361#: ../../library/gc.rst:298
362362msgid ""
363- "The debugging flags necessary for the collector to print information about a"
364- " leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
363+ "The debugging flags necessary for the collector to print information about a "
364+ "leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
365365"DEBUG_SAVEALL``)."
366366msgstr ""
0 commit comments