Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3407e3

Browse files
pomerge from 3.10 branch into 3.6
1 parentc6e22d6 commitd3407e3

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

‎library/typing.po

Lines changed: 19 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`"
@@ -52,17 +52,21 @@ msgstr ""
5252
msgid""
5353
"The function below takes and returns a string and is annotated as follows::"
5454
msgstr""
55+
"A função abaixo recebe e retorna uma string e é anotada como a seguir::"
5556

5657
#:../../library/typing.rst:32
5758
msgid""
5859
"In the function ``greeting``, the argument ``name`` is expected to be of "
5960
"type :class:`str` and the return type :class:`str`. Subtypes are accepted as "
6061
"arguments."
6162
msgstr""
63+
"Na função ``greeting``, é esperado que o argumento ``name`` seja do tipo :"
64+
"class:`str` e o retorno do tipo :class:`str`. Subtipos são aceitos como "
65+
"argumentos."
6266

6367
#:../../library/typing.rst:37
6468
msgid"Type aliases"
65-
msgstr""
69+
msgstr"Apelidos de tipo"
6670

6771
#:../../library/typing.rst:39
6872
msgid""
@@ -75,16 +79,20 @@ msgid ""
7579
"Type aliases are useful for simplifying complex type signatures. For "
7680
"example::"
7781
msgstr""
82+
"Apelidos de tipo são úteis para simplificar assinaturas de tipo complexas. "
83+
"Por exemplo::"
7884

7985
#:../../library/typing.rst:69
8086
msgid""
8187
"Note that ``None`` as a type hint is a special case and is replaced by "
8288
"``type(None)``."
8389
msgstr""
90+
"Note que ``None`` como uma dica de tipo é um caso especial e é substituído "
91+
"por ``type(None)``."
8492

8593
#:../../library/typing.rst:75
8694
msgid"NewType"
87-
msgstr""
95+
msgstr"NewType"
8896

8997
#:../../library/typing.rst:77
9098
msgid"Use the :func:`NewType` helper function to create distinct types::"
@@ -95,6 +103,9 @@ msgid ""
95103
"The static type checker will treat the new type as if it were a subclass of "
96104
"the original type. This is useful in helping catch logical errors::"
97105
msgstr""
106+
"O verificador de tipo estático tratará o novo tipo como se fosse uma "
107+
"subclasse do tipo original. Isso é útil para ajudar a encontrar erros de "
108+
"lógica::"
98109

99110
#:../../library/typing.rst:96
100111
msgid""
@@ -103,6 +114,11 @@ msgid ""
103114
"pass in a ``UserId`` wherever an ``int`` might be expected, but will prevent "
104115
"you from accidentally creating a ``UserId`` in an invalid way::"
105116
msgstr""
117+
"Você ainda pode executar todas as operações ``int`` em uma variável do tipo "
118+
"``UserId``, mas o resultado sempre será do tipo ``int``. Isso permite que "
119+
"você passe um ``UserId`` em qualquer ocasião que ``int`` possa ser esperado, "
120+
"mas previne que você acidentalmente crie um ``UserId`` de uma forma "
121+
"inválida::"
106122

107123
#:../../library/typing.rst:104
108124
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
@@ -1397,7 +1397,7 @@ msgstr ""
13971397

13981398
#:../../whatsnew/3.5.rst:1138
13991399
msgid"faulthandler"
1400-
msgstr""
1400+
msgstr"faulthandler"
14011401

14021402
#:../../whatsnew/3.5.rst:1140
14031403
msgid""

‎whatsnew/3.6.po

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

16001600
#:../../whatsnew/3.6.rst:1043
16011601
msgid"encodings"
1602-
msgstr""
1602+
msgstr"encodings"
16031603

16041604
#:../../whatsnew/3.6.rst:1045
16051605
msgid""
@@ -1634,7 +1634,7 @@ msgstr ""
16341634

16351635
#:../../whatsnew/3.6.rst:1075
16361636
msgid"faulthandler"
1637-
msgstr""
1637+
msgstr"faulthandler"
16381638

16391639
#:../../whatsnew/3.6.rst:1077
16401640
msgid""
@@ -1645,7 +1645,7 @@ msgstr ""
16451645

16461646
#:../../whatsnew/3.6.rst:1083
16471647
msgid"fileinput"
1648-
msgstr""
1648+
msgstr"fileinput"
16491649

16501650
#:../../whatsnew/3.6.rst:1085
16511651
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp