Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0eb172f

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent ecc69e9 commit 0eb172f

36 files changed

+2109
-2387
lines changed

c-api/memory.po

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
19+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2121
"Last-Translator: Rodrigo Cândido, 2022\n"
2222
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -566,19 +566,19 @@ msgid ""
566566
"following fields:"
567567
msgstr ""
568568

569-
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:657
569+
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:658
570570
msgid "Field"
571571
msgstr "Campo"
572572

573-
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:657
573+
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:658
574574
msgid "Meaning"
575575
msgstr "Significado"
576576

577-
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:659
577+
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:660
578578
msgid "``void *ctx``"
579579
msgstr "``void *ctx``"
580580

581-
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:659
581+
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:660
582582
msgid "user context passed as first argument"
583583
msgstr ""
584584

@@ -947,119 +947,119 @@ msgstr ""
947947
msgid ""
948948
"Python has a *pymalloc* allocator optimized for small objects (smaller or "
949949
"equal to 512 bytes) with a short lifetime. It uses memory mappings called "
950-
"\"arenas\" with a fixed size of 256 KiB. It falls back to :c:func:"
951-
"`PyMem_RawMalloc` and :c:func:`PyMem_RawRealloc` for allocations larger than "
952-
"512 bytes."
950+
"\"arenas\" with a fixed size of either 256 KiB on 32-bit platforms or 1 MiB "
951+
"on 64-bit platforms. It falls back to :c:func:`PyMem_RawMalloc` and :c:func:"
952+
"`PyMem_RawRealloc` for allocations larger than 512 bytes."
953953
msgstr ""
954954

955-
#: ../../c-api/memory.rst:632
955+
#: ../../c-api/memory.rst:633
956956
msgid ""
957957
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
958958
"the :c:macro:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and :c:macro:"
959959
"`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
960960
msgstr ""
961961

962-
#: ../../c-api/memory.rst:636
962+
#: ../../c-api/memory.rst:637
963963
msgid "The arena allocator uses the following functions:"
964964
msgstr ""
965965

966-
#: ../../c-api/memory.rst:638
966+
#: ../../c-api/memory.rst:639
967967
msgid ":c:func:`!VirtualAlloc` and :c:func:`!VirtualFree` on Windows,"
968968
msgstr ""
969969

970-
#: ../../c-api/memory.rst:639
970+
#: ../../c-api/memory.rst:640
971971
msgid ":c:func:`!mmap` and :c:func:`!munmap` if available,"
972972
msgstr ""
973973

974-
#: ../../c-api/memory.rst:640
974+
#: ../../c-api/memory.rst:641
975975
msgid ":c:func:`malloc` and :c:func:`free` otherwise."
976976
msgstr ":c:func:`malloc` e :c:func:`free` do contrário."
977977

978-
#: ../../c-api/memory.rst:642
978+
#: ../../c-api/memory.rst:643
979979
msgid ""
980980
"This allocator is disabled if Python is configured with the :option:`--"
981981
"without-pymalloc` option. It can also be disabled at runtime using the :"
982982
"envvar:`PYTHONMALLOC` environment variable (ex: ``PYTHONMALLOC=malloc``)."
983983
msgstr ""
984984

985-
#: ../../c-api/memory.rst:647
985+
#: ../../c-api/memory.rst:648
986986
msgid "Customize pymalloc Arena Allocator"
987987
msgstr ""
988988

989-
#: ../../c-api/memory.rst:653
989+
#: ../../c-api/memory.rst:654
990990
msgid ""
991991
"Structure used to describe an arena allocator. The structure has three "
992992
"fields:"
993993
msgstr ""
994994

995-
#: ../../c-api/memory.rst:661
995+
#: ../../c-api/memory.rst:662
996996
msgid "``void* alloc(void *ctx, size_t size)``"
997997
msgstr "``void* alloc(void *ctx, size_t size)``"
998998

999-
#: ../../c-api/memory.rst:661
999+
#: ../../c-api/memory.rst:662
10001000
msgid "allocate an arena of size bytes"
10011001
msgstr ""
10021002

1003-
#: ../../c-api/memory.rst:663
1003+
#: ../../c-api/memory.rst:664
10041004
msgid "``void free(void *ctx, void *ptr, size_t size)``"
10051005
msgstr ""
10061006

1007-
#: ../../c-api/memory.rst:663
1007+
#: ../../c-api/memory.rst:664
10081008
msgid "free an arena"
10091009
msgstr ""
10101010

1011-
#: ../../c-api/memory.rst:668
1011+
#: ../../c-api/memory.rst:669
10121012
msgid "Get the arena allocator."
10131013
msgstr ""
10141014

1015-
#: ../../c-api/memory.rst:672
1015+
#: ../../c-api/memory.rst:673
10161016
msgid "Set the arena allocator."
10171017
msgstr ""
10181018

1019-
#: ../../c-api/memory.rst:676
1019+
#: ../../c-api/memory.rst:677
10201020
msgid "tracemalloc C API"
10211021
msgstr ""
10221022

1023-
#: ../../c-api/memory.rst:682
1023+
#: ../../c-api/memory.rst:683
10241024
msgid "Track an allocated memory block in the :mod:`tracemalloc` module."
10251025
msgstr ""
10261026

1027-
#: ../../c-api/memory.rst:684
1027+
#: ../../c-api/memory.rst:685
10281028
msgid ""
10291029
"Return ``0`` on success, return ``-1`` on error (failed to allocate memory "
10301030
"to store the trace). Return ``-2`` if tracemalloc is disabled."
10311031
msgstr ""
10321032

1033-
#: ../../c-api/memory.rst:687
1033+
#: ../../c-api/memory.rst:688
10341034
msgid "If memory block is already tracked, update the existing trace."
10351035
msgstr ""
10361036

1037-
#: ../../c-api/memory.rst:691
1037+
#: ../../c-api/memory.rst:692
10381038
msgid ""
10391039
"Untrack an allocated memory block in the :mod:`tracemalloc` module. Do "
10401040
"nothing if the block was not tracked."
10411041
msgstr ""
10421042

1043-
#: ../../c-api/memory.rst:694
1043+
#: ../../c-api/memory.rst:695
10441044
msgid "Return ``-2`` if tracemalloc is disabled, otherwise return ``0``."
10451045
msgstr ""
10461046

1047-
#: ../../c-api/memory.rst:700
1047+
#: ../../c-api/memory.rst:701
10481048
msgid "Examples"
10491049
msgstr "Exemplos"
10501050

1051-
#: ../../c-api/memory.rst:702
1051+
#: ../../c-api/memory.rst:703
10521052
msgid ""
10531053
"Here is the example from section :ref:`memoryoverview`, rewritten so that "
10541054
"the I/O buffer is allocated from the Python heap by using the first function "
10551055
"set::"
10561056
msgstr ""
10571057

1058-
#: ../../c-api/memory.rst:715
1058+
#: ../../c-api/memory.rst:716
10591059
msgid "The same code using the type-oriented function set::"
10601060
msgstr ""
10611061

1062-
#: ../../c-api/memory.rst:727
1062+
#: ../../c-api/memory.rst:728
10631063
msgid ""
10641064
"Note that in the two examples above, the buffer is always manipulated via "
10651065
"functions belonging to the same set. Indeed, it is required to use the same "
@@ -1069,14 +1069,14 @@ msgid ""
10691069
"different allocators operating on different heaps. ::"
10701070
msgstr ""
10711071

1072-
#: ../../c-api/memory.rst:742
1072+
#: ../../c-api/memory.rst:743
10731073
msgid ""
10741074
"In addition to the functions aimed at handling raw memory blocks from the "
10751075
"Python heap, objects in Python are allocated and released with :c:macro:"
10761076
"`PyObject_New`, :c:macro:`PyObject_NewVar` and :c:func:`PyObject_Del`."
10771077
msgstr ""
10781078

1079-
#: ../../c-api/memory.rst:746
1079+
#: ../../c-api/memory.rst:747
10801080
msgid ""
10811081
"These will be explained in the next chapter on defining and implementing new "
10821082
"object types in C."

c-api/set.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
16+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -255,8 +255,11 @@ msgstr ""
255255
"uma instância de :class:`set` ou seu subtipo."
256256

257257
#: ../../c-api/set.rst:166
258-
msgid "Empty an existing set of all elements."
259-
msgstr "Limpa todos os elementos de um conjunto existente"
258+
msgid ""
259+
"Empty an existing set of all elements. Return ``0`` on success. Return "
260+
"``-1`` and raise :exc:`SystemError` if *set* is not an instance of :class:"
261+
"`set` or its subtype."
262+
msgstr ""
260263

261264
#: ../../c-api/set.rst:11
262265
msgid "object"

glossary.po

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.12\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
23+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
2424
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2525
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
2626
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -610,11 +610,9 @@ msgstr "gerenciador de contexto"
610610
#: ../../glossary.rst:250
611611
msgid ""
612612
"An object which controls the environment seen in a :keyword:`with` statement "
613-
"by defining :meth:`__enter__` and :meth:`__exit__` methods. See :pep:`343`."
613+
"by defining :meth:`~object.__enter__` and :meth:`~object.__exit__` methods. "
614+
"See :pep:`343`."
614615
msgstr ""
615-
"Um objeto que controla o ambiente visto numa instrução :keyword:`with` por "
616-
"meio da definição dos métodos :meth:`__enter__` e :meth:`__exit__`. Veja :"
617-
"pep:`343`."
618616

619617
#: ../../glossary.rst:253
620618
msgid "context variable"
@@ -1542,15 +1540,9 @@ msgid ""
15421540
"iterables include all sequence types (such as :class:`list`, :class:`str`, "
15431541
"and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:"
15441542
"`file objects <file object>`, and objects of any classes you define with an :"
1545-
"meth:`__iter__` method or with a :meth:`__getitem__` method that implements :"
1546-
"term:`sequence` semantics."
1543+
"meth:`__iter__` method or with a :meth:`~object.__getitem__` method that "
1544+
"implements :term:`sequence` semantics."
15471545
msgstr ""
1548-
"Um objeto capaz de retornar seus membros um de cada vez. Exemplos de "
1549-
"iteráveis incluem todos os tipos de sequência (tais como :class:`list`, :"
1550-
"class:`str` e :class:`tuple`) e alguns tipos de não-sequência, como o :class:"
1551-
"`dict`, :term:`objetos arquivos <file object>`, além dos objetos de "
1552-
"quaisquer classes que você definir com um método :meth:`__iter__` ou :meth:"
1553-
"`__getitem__` que implementam a semântica de :term:`sequência` ."
15541546

15551547
#: ../../glossary.rst:651
15561548
msgid ""
@@ -2539,35 +2531,23 @@ msgstr "sequência"
25392531
#: ../../glossary.rst:1089
25402532
msgid ""
25412533
"An :term:`iterable` which supports efficient element access using integer "
2542-
"indices via the :meth:`__getitem__` special method and defines a :meth:"
2543-
"`__len__` method that returns the length of the sequence. Some built-in "
2534+
"indices via the :meth:`~object.__getitem__` special method and defines a :"
2535+
"meth:`__len__` method that returns the length of the sequence. Some built-in "
25442536
"sequence types are :class:`list`, :class:`str`, :class:`tuple`, and :class:"
2545-
"`bytes`. Note that :class:`dict` also supports :meth:`__getitem__` and :meth:"
2546-
"`__len__`, but is considered a mapping rather than a sequence because the "
2547-
"lookups use arbitrary :term:`immutable` keys rather than integers."
2548-
msgstr ""
2549-
"Um :term:`iterável` com suporte para acesso eficiente a seus elementos "
2550-
"através de índices inteiros via método especial :meth:`__getitem__` e que "
2551-
"define o método :meth:`__len__` que devolve o tamanho da sequência. Alguns "
2552-
"tipos de sequência embutidos são: :class:`list`, :class:`str`, :class:"
2553-
"`tuple`, e :class:`bytes`. Note que :class:`dict` também tem suporte para :"
2554-
"meth:`__getitem__` e :meth:`__len__`, mas é considerado um mapa e não uma "
2555-
"sequência porque a busca usa uma chave :term:`imutável` arbitrária em vez de "
2556-
"inteiros."
2537+
"`bytes`. Note that :class:`dict` also supports :meth:`~object.__getitem__` "
2538+
"and :meth:`__len__`, but is considered a mapping rather than a sequence "
2539+
"because the lookups use arbitrary :term:`immutable` keys rather than "
2540+
"integers."
2541+
msgstr ""
25572542

25582543
#: ../../glossary.rst:1098
25592544
msgid ""
25602545
"The :class:`collections.abc.Sequence` abstract base class defines a much "
2561-
"richer interface that goes beyond just :meth:`__getitem__` and :meth:"
2546+
"richer interface that goes beyond just :meth:`~object.__getitem__` and :meth:"
25622547
"`__len__`, adding :meth:`count`, :meth:`index`, :meth:`__contains__`, and :"
25632548
"meth:`__reversed__`. Types that implement this expanded interface can be "
25642549
"registered explicitly using :func:`~abc.ABCMeta.register`."
25652550
msgstr ""
2566-
"A classe base abstrata :class:`collections.abc.Sequence` define uma "
2567-
"interface mais rica que vai além de apenas :meth:`__getitem__` e :meth:"
2568-
"`__len__`, adicionando :meth:`count`, :meth:`index`, :meth:`__contains__`, "
2569-
"e :meth:`__reversed__`. Tipos que implementam essa interface podem ser "
2570-
"explicitamente registrados usando :func:`~abc.ABCMeta.register`."
25712551

25722552
#: ../../glossary.rst:1105
25732553
msgid "set comprehension"

library/abc.po

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-06-09 14:13+0000\n"
17+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
1919
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -219,14 +219,9 @@ msgid ""
219219
"Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``, "
220220
"even though it does not define an :meth:`~iterator.__iter__` method (it uses "
221221
"the old-style iterable protocol, defined in terms of :meth:`__len__` and :"
222-
"meth:`__getitem__`). Note that this will not make ``get_iterator`` "
222+
"meth:`~object.__getitem__`). Note that this will not make ``get_iterator`` "
223223
"available as a method of ``Foo``, so it is provided separately."
224224
msgstr ""
225-
"Finalmente, a última linha faz de ``Foo`` uma subclasse virtual da "
226-
"``MyIterable``, apesar de não definir um método :meth:`~iterador.__iter__` "
227-
"(ela usa o protocolo iterável antigo, definido em termos de :meth:`__len__` "
228-
"e :meth:`__getitem__`). Note que isto não fará o ``get_iterator`` disponível "
229-
"como um método de ``Foo``, então ele é fornecido separadamente."
230225

231226
#: ../../library/abc.rst:163
232227
msgid "The :mod:`abc` module also provides the following decorator:"

0 commit comments

Comments
 (0)