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

Skip to content

Commit 19ecdbb

Browse files
pomerge from 3.10 branch into 3.7
1 parent 7ef11bf commit 19ecdbb

File tree

5 files changed

+28
-9
lines changed

5 files changed

+28
-9
lines changed

library/typing.po

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ msgstr ""
2525

2626
#: ../../library/typing.rst:2
2727
msgid ":mod:`typing` --- Support for type hints"
28-
msgstr ""
28+
msgstr ":mod:`typing` --- Suporte para dicas de tipo"
2929

3030
#: ../../library/typing.rst:9
3131
msgid "**Source code:** :source:`Lib/typing.py`"
@@ -37,6 +37,9 @@ msgid ""
3737
"They can be used by third party tools such as type checkers, IDEs, linters, "
3838
"etc."
3939
msgstr ""
40+
"O tempo de execução do Python não força anotações de tipos de variáveis e "
41+
"funções. Elas podem ser usadas por ferramentas de terceiros como "
42+
"verificadores de tipo, IDEs, linters, etc."
4043

4144
#: ../../library/typing.rst:19
4245
msgid ""
@@ -51,17 +54,21 @@ msgstr ""
5154
msgid ""
5255
"The function below takes and returns a string and is annotated as follows::"
5356
msgstr ""
57+
"A função abaixo recebe e retorna uma string e é anotada como a seguir::"
5458

5559
#: ../../library/typing.rst:31
5660
msgid ""
5761
"In the function ``greeting``, the argument ``name`` is expected to be of "
5862
"type :class:`str` and the return type :class:`str`. Subtypes are accepted as "
5963
"arguments."
6064
msgstr ""
65+
"Na função ``greeting``, é esperado que o argumento ``name`` seja do tipo :"
66+
"class:`str` e o retorno do tipo :class:`str`. Subtipos são aceitos como "
67+
"argumentos."
6168

6269
#: ../../library/typing.rst:36
6370
msgid "Type aliases"
64-
msgstr ""
71+
msgstr "Apelidos de tipo"
6572

6673
#: ../../library/typing.rst:38
6774
msgid ""
@@ -74,16 +81,20 @@ msgid ""
7481
"Type aliases are useful for simplifying complex type signatures. For "
7582
"example::"
7683
msgstr ""
84+
"Apelidos de tipo são úteis para simplificar assinaturas de tipo complexas. "
85+
"Por exemplo::"
7786

7887
#: ../../library/typing.rst:68
7988
msgid ""
8089
"Note that ``None`` as a type hint is a special case and is replaced by "
8190
"``type(None)``."
8291
msgstr ""
92+
"Note que ``None`` como uma dica de tipo é um caso especial e é substituído "
93+
"por ``type(None)``."
8394

8495
#: ../../library/typing.rst:74
8596
msgid "NewType"
86-
msgstr ""
97+
msgstr "NewType"
8798

8899
#: ../../library/typing.rst:76
89100
msgid "Use the :func:`NewType` helper function to create distinct types::"
@@ -94,6 +105,9 @@ msgid ""
94105
"The static type checker will treat the new type as if it were a subclass of "
95106
"the original type. This is useful in helping catch logical errors::"
96107
msgstr ""
108+
"O verificador de tipo estático tratará o novo tipo como se fosse uma "
109+
"subclasse do tipo original. Isso é útil para ajudar a encontrar erros de "
110+
"lógica::"
97111

98112
#: ../../library/typing.rst:95
99113
msgid ""
@@ -102,6 +116,11 @@ msgid ""
102116
"pass in a ``UserId`` wherever an ``int`` might be expected, but will prevent "
103117
"you from accidentally creating a ``UserId`` in an invalid way::"
104118
msgstr ""
119+
"Você ainda pode executar todas as operações ``int`` em uma variável do tipo "
120+
"``UserId``, mas o resultado sempre será do tipo ``int``. Isso permite que "
121+
"você passe um ``UserId`` em qualquer ocasião que ``int`` possa ser esperado, "
122+
"mas previne que você acidentalmente crie um ``UserId`` de uma forma "
123+
"inválida::"
105124

106125
#: ../../library/typing.rst:103
107126
msgid ""

whatsnew/3.3.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ msgstr "Novos Módulos"
11491149

11501150
#: ../../whatsnew/3.3.rst:864
11511151
msgid "faulthandler"
1152-
msgstr ""
1152+
msgstr "faulthandler"
11531153

11541154
#: ../../whatsnew/3.3.rst:866
11551155
msgid ""

whatsnew/3.5.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ msgstr ""
13901390

13911391
#: ../../whatsnew/3.5.rst:1138
13921392
msgid "faulthandler"
1393-
msgstr ""
1393+
msgstr "faulthandler"
13941394

13951395
#: ../../whatsnew/3.5.rst:1140
13961396
msgid ""

whatsnew/3.6.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ msgstr ""
15711571

15721572
#: ../../whatsnew/3.6.rst:1044
15731573
msgid "encodings"
1574-
msgstr ""
1574+
msgstr "encodings"
15751575

15761576
#: ../../whatsnew/3.6.rst:1046
15771577
msgid ""
@@ -1606,7 +1606,7 @@ msgstr ""
16061606

16071607
#: ../../whatsnew/3.6.rst:1076
16081608
msgid "faulthandler"
1609-
msgstr ""
1609+
msgstr "faulthandler"
16101610

16111611
#: ../../whatsnew/3.6.rst:1078
16121612
msgid ""
@@ -1617,7 +1617,7 @@ msgstr ""
16171617

16181618
#: ../../whatsnew/3.6.rst:1084
16191619
msgid "fileinput"
1620-
msgstr ""
1620+
msgstr "fileinput"
16211621

16221622
#: ../../whatsnew/3.6.rst:1086
16231623
msgid ""

whatsnew/3.7.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ msgstr ""
10121012

10131013
#: ../../whatsnew/3.7.rst:571
10141014
msgid "dataclasses"
1015-
msgstr ""
1015+
msgstr "dataclasses"
10161016

10171017
#: ../../whatsnew/3.7.rst:573
10181018
msgid ""

0 commit comments

Comments
 (0)