8000 Update translations from Transifex · python/python-docs-pt-br@d64bd66 · GitHub
[go: up one dir, main page]

Skip to content

Commit d64bd66

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 8c1cc26 commit d64bd66

23 files changed

+2224
-2080
lines changed

c-api/set.po

Lines changed: 24 additions & 5 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-10-20 14:13+0000\n"
16+
"POT-Creation-Date: 2023-12-01 14:14+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -189,6 +189,9 @@ msgid ""
189189
"to ``len(anyset)``. Raises a :exc:`SystemError` if *anyset* is not a :class:"
190190
"`set`, :class:`frozenset`, or an instance of a subtype."
191191
msgstr ""
192+
"Retorna o comprimento de um objeto :class:`set` ou :class:`frozenset`. "
193+
"Equivalente a ``len(anyset)``. Levanta um :exc:`SystemError` se *anyset* não "
194+
"for um :class:`set`, :class:`frozenset`, ou uma instância de um subtipo."
192195

193196
#: ../../c-api/set.rst:119
194197
msgid "Macro form of :c:func:`PySet_Size` without error checking."
@@ -203,6 +206,12 @@ msgid ""
203206
"`SystemError` if *anyset* is not a :class:`set`, :class:`frozenset`, or an "
204207
"instance of a subtype."
205208
msgstr ""
209+
"Retorna ``1`` se encontrado, ``0`` se não encontrado, e ``-1`` se um erro é "
210+
"encontrado. Ao contrário do método Python :meth:`~object.__contains__`, esta "
211+
"função não converte automaticamente conjuntos não hasheáveis em frozensets "
212+
"temporários. Levanta um :exc:`TypeError` se a *key* não for hasheável. "
213+
"Levanta :exc:`SystemError` se *anyset* não é um :class:`set`, :class:"
214+
"`frozenset`, ou uma instância de um subtipo."
206215

207216
#: ../../c-api/set.rst:133
208217
msgid ""
@@ -237,10 +246,17 @@ msgid ""
237246
"Return ``1`` if found and removed, ``0`` if not found (no action taken), and "
238247
"``-1`` if an error is encountered. Does not raise :exc:`KeyError` for "
239248
"missing keys. Raise a :exc:`TypeError` if the *key* is unhashable. Unlike "
240-
"the Python :meth:`~set.discard` method, this function does not automatically "
241-
"convert unhashable sets into temporary frozensets. Raise :exc:`SystemError` "
242-
"if *set* is not an instance of :class:`set` or its subtype."
249+
"the Python :meth:`~frozenset.discard` method, this function does not "
250+
"automatically convert unhashable sets into temporary frozensets. Raise :exc:"
251+
"`SystemError` if *set* is not an instance of :class:`set` or its subtype."
243252
msgstr ""
253+
"Retorna ``1`` se encontrado e removido, ``0`` se não encontrado (nenhuma "
254+
"ação realizada) e ``-1`` se um erro for encontrado. Não levanta :exc:"
255+
"`KeyError` para chaves ausentes. Levanta uma :exc:`TypeError` se a *key* não "
256+
"for hasheável. Ao contrário do método Python :meth:`~frozenset.discard`, "
257+
"esta função não converte automaticamente conjuntos não hasheáveis em "
258+
"frozensets temporários. Levanta :exc:`SystemError` se *set* não é uma "
259+
"instância de :class:`set` ou seu subtipo."
244260

245261
#: ../../c-api/set.rst:158
246262
msgid ""
@@ -260,6 +276,9 @@ msgid ""
260276
"``-1`` and raise :exc:`SystemError` if *set* is not an instance of :class:"
261277
"`set` or its subtype."
262278
msgstr ""
279+
"Esvazia um conjunto existente de todos os elementos. Retorna ``0`` em caso "
280+
"de sucesso. Retorna ``-1`` e levanta :exc:`SystemError` se *set* não for uma "
281+
"instância de :class:`set` ou seu subtipo."
263282

264283
#: ../../c-api/set.rst:11
265284
msgid "object"
@@ -271,7 +290,7 @@ msgstr "set"
271290

272291
#: ../../c-api/set.rst:11
273292
msgid "frozenset"
274-
msgstr ""
293+
msgstr "frozenset"
275294

276295
#: ../../c-api/set.rst:110
277296
msgid "built-in function"

extending/newtypes.po

Lines changed: 3 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-11-24 14:13+0000\n"
16+
"POT-Creation-Date: 2023-12-01 14:14+0000\n"
1717
" 6302 PO-Revision-Date: 2021-06-28 00:52+0000\n"
1818
"Last-Translator: Vitor Buxbaum Orlandi, 2023\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -304,7 +304,7 @@ msgid ""
304304
"defined this way can have an associated doc string simply by providing the "
305305
"text in the table. An application can use the introspection API to retrieve "
306306
"the descriptor from the class object, and get the doc string using its :attr:"
307-
"`__doc__` attribute."
307+
"`!__doc__` attribute."
308308
msgstr ""
309309

310310
#: ../../extending/newtypes.rst:301
@@ -422,7 +422,7 @@ msgstr ""
422422

423423
#: ../../extending/newtypes.rst:451
424424
msgid ""
425-
":c:type:`Py_hash_t` is a signed integer type with a platform-varying width. "
425+
":c:type:`!Py_hash_t` is a signed integer type with a platform-varying width. "
426426
"Returning ``-1`` from :c:member:`~PyTypeObject.tp_hash` indicates an error, "
427427
"which is why you should be careful to avoid returning it when hash "
428428
"computation is successful, as seen above."

0 commit comments

Comments
 (0)
0