|
8 | 8 | # Claudio Rogerio Carvalho Filho <[email protected]>, 2021
|
9 | 9 | # And Past <[email protected]>, 2021
|
10 | 10 | # Rafael Fontenelle <[email protected]>, 2024
|
| 11 | +# Adorilson Bezerra <[email protected]>, 2024 |
11 | 12 | #
|
12 | 13 | #, fuzzy
|
13 | 14 | msgid ""
|
14 | 15 | msgstr ""
|
15 | 16 | "Project-Id-Version: Python 3.12\n"
|
16 | 17 | "Report-Msgid-Bugs-To: \n"
|
17 |
| -"POT-Creation-Date: 2024-03-01 14:13+0000\n" |
| 18 | +"POT-Creation-Date: 2024-03-15 14:13+0000\n" |
18 | 19 | "PO-Revision-Date: 2021-06-28 01:11+0000\n"
|
19 |
| -"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n" |
| 20 | +"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2024\n" |
20 | 21 | "Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
|
21 | 22 | "teams/5390/pt_BR/)\n"
|
22 | 23 | "MIME-Version: 1.0\n"
|
@@ -739,6 +740,12 @@ msgid ""
|
739 | 740 | "and can optionally return :data:`NotImplemented` to fallback on :attr:"
|
740 | 741 | "`dispatch_table`-registered reducers to pickle ``obj``."
|
741 | 742 | msgstr ""
|
| 743 | +"Redutor especial que pode ser definido em subclasses de :class:`Pickler`. " |
| 744 | +"Este método tem prioridade sobre qualquer redutor em :attr:`dispatch_table`. " |
| 745 | +"Ele deve estar de acordo com a mesma interface que um método :meth:`~object." |
| 746 | +"__reduce__` e pode opcionalmente retornar :data:`NotImplemented` como " |
| 747 | +"alternativa em redutores registrados em :attr:`dispatch_table` para " |
| 748 | +"serializar com pickle ``obj``." |
742 | 749 |
|
743 | 750 | #: ../../library/pickle.rst:379
|
744 | 751 | msgid "For a detailed example, see :ref:`reducer_override`."
|
@@ -954,6 +961,8 @@ msgid ""
|
954 | 961 | "built-in constants (``None``, ``True``, ``False``, ``Ellipsis``, and :data:"
|
955 | 962 | "`NotImplemented`);"
|
956 | 963 | msgstr ""
|
| 964 | +"constantes embutidas (``None``, ``True``, ``False``, ``Ellipsis`` e :data:" |
| 965 | +"`NotImplemented`);" |
957 | 966 |
|
958 | 967 | #: ../../library/pickle.rst:500
|
959 | 968 | msgid "integers, floating-point numbers, complex numbers;"
|
@@ -1607,6 +1616,11 @@ msgid ""
|
1607 | 1616 | "alternatively return :data:`NotImplemented` to fallback to the traditional "
|
1608 | 1617 | "behavior."
|
1609 | 1618 | msgstr ""
|
| 1619 | +"Para esses casos, é possível criar uma subclasse da classe :class:`Pickler` " |
| 1620 | +"e implementar um método :meth:`~Pickler.reducer_override`. Este método pode " |
| 1621 | +"retornar uma tupla de redução arbitrária (veja :meth:`~object.__reduce__`). " |
| 1622 | +"Ele pode, alternativamente, retornar :data:`NotImplemented` para retornar ao " |
| 1623 | +"comportamento tradicional." |
1610 | 1624 |
|
1611 | 1625 | #: ../../library/pickle.rst:902
|
1612 | 1626 | msgid ""
|
|
0 commit comments