@@ -156,6 +156,8 @@ msgid ""
156
156
":pep:`702`: Support for marking deprecations in the type system using the "
157
157
"new :func:`warnings.deprecated` decorator."
158
158
msgstr ""
159
+ ":pep:`702`: Suporte para marcação de descontinuações no sistema de tipos "
160
+ "usando o novo decorador :func:`warnings.deprecated`."
159
161
160
162
#: ../../whatsnew/3.13.rst:110
161
163
msgid ""
@@ -896,13 +898,19 @@ msgid ""
896
898
"compiler, with the line number of the first line of the class definition. "
897
899
"(Contributed by Serhiy Storchaka in :gh:`118465`.)"
898
900
msgstr ""
901
+ "As classes possuem um novo atributo :attr:`!__firstlineno__`, preenchido "
902
+ "pelo compilador, com o número da primeira linha da definição de classe. "
903
+ "(Contribuição de Serhiy Storchaka em :gh:`118465`.)"
899
904
900
905
#: ../../whatsnew/3.13.rst:485
901
906
msgid ""
902
907
"``from __future__ import ...`` statements are now just normal relative "
903
908
"imports if dots are present before the module name. (Contributed by Jeremiah "
904
909
"Gabriel Pascual in :gh:`118216`.)"
905
910
msgstr ""
911
+ "As instruções ``from __future__ import ...`` agora são apenas importações "
912
+ "relativas normais se houver pontos antes do nome do módulo. (Contribuição de "
913
+ "Jeremiah Gabriel Pascual em :gh:`118216`.)"
906
914
907
915
#: ../../whatsnew/3.13.rst:491
908
916
msgid "New Modules"
@@ -927,6 +935,10 @@ msgid ""
927
935
"options, positional arguments and subcommands. (Contributed by Serhiy "
928
936
"Storchaka in :gh:`83648`.)"
929
937
msgstr ""
938
+ "Adiciona o parâmetro *deprecated* nos métodos :meth:`~argparse."
939
+ "ArgumentParser.add_argument` e :meth:`!add_parser` que permite descontinuar "
940
+ "opções de linha de comando, argumentos posicionais e subcomandos. "
941
+ "(Contribuição de Serhiy Storchaka em :gh:`83648`.)"
930
942
931
943
#: ../../whatsnew/3.13.rst:509
932
944
msgid "array"
@@ -938,12 +950,17 @@ msgid ""
938
950
"can be used instead of ``'u'`` type code, which is deprecated. (Contributed "
939
951
"by Inada Naoki in :gh:`80480`.)"
940
952
msgstr ""
953
+ "Adiciona o código do tipo ``'w'`` (``Py_UCS4``) que pode ser usado para "
954
+ "strings Unicode. Ele pode ser usado no lugar do código do tipo ``'u'``, que "
955
+ "foi descontinuado. (Contribuição de Inada Naoki em :gh:`80480`.)"
941
956
942
957
#: ../../whatsnew/3.13.rst:515
943
958
msgid ""
944
959
"Add ``clear()`` method in order to implement ``MutableSequence``. "
945
960
"(Contributed by Mike Zimin in :gh:`114894`.)"
946
961
msgstr ""
962
+ "Adiciona o método ``clear()`` para implementar ``MutableSequence``. "
963
+ "(Contribuição de Mike Zimin em :gh:`114894`.)"
947
964
948
965
#: ../../whatsnew/3.13.rst:519
949
966
msgid "ast"
@@ -955,6 +972,9 @@ msgid ""
955
972
"the arguments they accept, and have more intuitive behaviour when arguments "
956
973
"are omitted."
957
974
msgstr ""
975
+ "Os construtores dos tipos de nós no módulo :mod:`ast` agora são mais rígidos "
976
+ "nos argumentos que aceitam e têm um comportamento mais intuitivo quando os "
977
+ "argumentos são omitidos."
958
978
959
979
#: ../../whatsnew/3.13.rst:525
960
980
msgid ""
@@ -965,6 +985,12 @@ msgid ""
965
985
"`Load() <ast.Load>`. (Previously, in all cases, the attribute would be "
966
986
"missing on the newly constructed AST node instance.)"
967
987
msgstr ""
988
+ "Se um campo opcional em um nó AST não for incluído como argumento ao "
989
+ "construir uma instância, o campo agora será definido como ``None``. Da mesma "
990
+ "forma, se um campo de lista for omitido, esse campo será agora definido como "
991
+ "uma lista vazia, e se um campo :class:`!ast.expr_context` for omitido, o "
992
+ "padrão será :class:`Load() <ast.Load>`. (Anteriormente, em todos os casos, o "
993
+ "atributo estaria ausente na instância do nó de AST recém-construída.)"
968
994
969
995
#: ../../whatsnew/3.13.rst:533
970
996
msgid ""
@@ -973,19 +999,28 @@ msgid ""
973
999
"argument that does not map to a field on the AST node is now deprecated, and "
974
1000
"will raise an exception in Python 3.15."
975
1001
msgstr ""
1002
+ "Se outros argumentos forem omitidos, um :exc:`DeprecationWarning` será "
1003
+ "emitido. Isso causará uma exceção no Python 3.15. Da mesma forma, passar um "
1004
+ "argumento nomeado que não mapeia para um campo no nó AST agora está "
1005
+ "descontinuado e vai levantar uma exceção no Python 3.15."
976
1006
977
1007
#: ../../whatsnew/3.13.rst:538
978
1008
msgid ""
979
1009
"These changes do not apply to user-defined subclasses of :class:`ast.AST`, "
980
1010
"unless the class opts in to the new behavior by setting the attribute :attr:"
981
1011
"`ast.AST._field_types`."
982
1012
msgstr ""
1013
+ "Estas mudanças não se aplicam às subclasses definidas pelo usuário de :class:"
1014
+ "`ast.AST`, a menos que a classe opte pelo novo comportamento definindo o "
1015
+ "atributo :attr:`ast.AST._field_types`."
983
1016
984
1017
#: ../../whatsnew/3.13.rst:542
985
1018
msgid ""
986
1019
"(Contributed by Jelle Zijlstra in :gh:`105858`, :gh:`117486`, and :gh:"
987
1020
"`118851`.)"
988
1021
msgstr ""
1022
+ "(Contribuição de Jelle Zijlstra em :gh:`105858`, :gh:`117486` e :gh:"
1023
+ "`118851`.)"
989
1024
990
1025
#: ../../whatsnew/3.13.rst:544
991
1026
msgid ""
0 commit comments