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

Skip to content

Commit f8385da

Browse files
Update translations
1 parent a1ff48b commit f8385da

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

library/typing.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5126,7 +5126,7 @@ msgstr "Funções e decoradores"
51265126

51275127
#: ../../library/typing.rst:2529
51285128
msgid "Cast a value to a type."
5129-
msgstr "Define um valor para um tipo."
5129+
msgstr "Converta um valor em um tipo."
51305130

51315131
#: ../../library/typing.rst:2531
51325132
msgid ""
@@ -5224,9 +5224,9 @@ msgstr ""
52245224
"def int_or_str(arg: int | str) -> None:\n"
52255225
" match arg:\n"
52265226
" case int():\n"
5227-
" print(\"It's an int\")\n"
5227+
" print(\"É um int\")\n"
52285228
" case str():\n"
5229-
" print(\"It's a str\")\n"
5229+
" print(\"É um str\")\n"
52305230
" case _ as unreachable:\n"
52315231
" assert_never(unreachable)"
52325232

@@ -5250,7 +5250,7 @@ msgid ""
52505250
"passed in must be the bottom type, :data:`Never`, and nothing else."
52515251
msgstr ""
52525252
"Se um verificador de tipos descobrir que uma chamada para ``assert_never()`` "
5253-
"é alcançável, ele emitirá um erro. por exemplo, se o anotação de tipo para "
5253+
"é alcançável, ele emitirá um erro. Por exemplo, se a anotação de tipo para "
52545254
"``arg`` fosse ``int | str | float``, o verificador de tipos emitiria um erro "
52555255
"indicando que ``unreachable`` é do tipo :class:`float`. Para que uma chamada "
52565256
"para ``assert_never`` passe verificação de tipos, o tipo inferido do "
@@ -5266,6 +5266,9 @@ msgid ""
52665266
"latest/guides/unreachable.html>`__ has more information about exhaustiveness "
52675267
"checking with static typing."
52685268
msgstr ""
5269+
"`Unreachable Code and Exhaustiveness Checking <https://tipagem.Python.org/en/"
5270+
"latest/guides/unreachable.html>`__ tem mais informações sobre a verificação "
5271+
"de exaustividade com tipagem estática."
52695272

52705273
#: ../../library/typing.rst:2601
52715274
msgid "Ask a static type checker to reveal the inferred type of an expression."

potodo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
- traceback.po 9 / 111 ( 8.0% translated).
199199
- tracemalloc.po 21 / 156 ( 13.0% translated).
200200
- types.po 98 / 99 ( 98.0% translated).
201-
- typing.po 711 / 738 ( 96.0% translated).
201+
- typing.po 712 / 738 ( 96.0% translated).
202202
- unicodedata.po 5 / 32 ( 15.0% translated).
203203
- unittest.mock-examples.po 22 / 182 ( 12.0% translated).
204204
- unittest.mock.po 103 / 440 ( 23.0% translated).

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "67.14%", "translated": 41621, "entries": 61994, "updated_at": "2025-04-14T23:27:51+00:00Z"}
1+
{"completion": "67.14%", "translated": 41622, "entries": 61994, "updated_at": "2025-04-15T23:28:02+00:00Z"}

0 commit comments

Comments
 (0)