@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version :Python 3.8\n "
1818"Report-Msgid-Bugs-To :\n "
19- "POT-Creation-Date :2024-08-23 17:20 +0000\n "
19+ "POT-Creation-Date :2024-10-04 17:06 +0000\n "
2020"PO-Revision-Date :2020-05-30 11:55+0000\n "
2121"Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
2222"Language-Team :Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -2033,7 +2033,7 @@ msgstr ""
20332033
20342034#: ../../library/argparse.rst:2067
20352035msgid "Upgrading optparse code"
2036- msgstr ""
2036+ msgstr "Atualizando código optparse "
20372037
20382038#: ../../library/argparse.rst:2069
20392039msgid ""
@@ -2062,29 +2062,34 @@ msgstr ""
20622062
20632063#: ../../library/argparse.rst:2081
20642064msgid "Allowing alternative option prefixes like ``+`` and ``/``."
2065- msgstr ""
2065+ msgstr "Permitir prefixos de opções alternativas como ``+`` e ``/``. "
20662066
20672067#: ../../library/argparse.rst:2082
20682068msgid "Handling zero-or-more and one-or-more style arguments."
2069- msgstr ""
2069+ msgstr "Manipular argumentos de estilo \" zero ou mais \" e \" um ou mais \" . "
20702070
20712071#: ../../library/argparse.rst:2083
20722072msgid "Producing more informative usage messages."
2073- msgstr ""
2073+ msgstr "Produzir mensagens de uso mais informativas. "
20742074
20752075#: ../../library/argparse.rst:2084
20762076msgid "Providing a much simpler interface for custom ``type`` and ``action``."
20772077msgstr ""
2078+ "Fornecer uma interface muito mais simples para ``type`` e ``action`` "
2079+ "personalizados."
20782080
20792081#: ../../library/argparse.rst:2086
20802082msgid "A partial upgrade path from :mod:`optparse` to :mod:`argparse`:"
20812083msgstr ""
2084+ "Um caminho de atualização parcial de :mod:`optparse` para :mod:`argparse`:"
20822085
20832086#: ../../library/argparse.rst:2088
20842087msgid ""
20852088"Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:"
20862089"`ArgumentParser.add_argument` calls."
20872090msgstr ""
2091+ "Substituir todas as chamadas de :meth:`optparse.OptionParser.add_option` por "
2092+ "chamadas de :meth:`ArgumentParser.add_argument`."
20882093
20892094#: ../../library/argparse.rst:2091
20902095msgid ""
@@ -2093,42 +2098,62 @@ msgid ""
20932098"for the positional arguments. Keep in mind that what was previously called "
20942099"``options``, now in the :mod:`argparse` context is called ``args``."
20952100msgstr ""
2101+ "Substituir ``(options, args) = parser.parse_args()`` por ``args = parser."
2102+ "parse_args()`` e adicionar chamadas adicionais a :meth:`ArgumentParser."
2103+ "add_argument` para os argumentos posicionais. Tenha em mente que o que "
2104+ "anteriormente era chamado de ``options``, agora no contexto do :mod:"
2105+ "`argparse` é chamado de ``args``."
20962106
20972107#: ../../library/argparse.rst:2096
20982108msgid ""
20992109"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :"
21002110"meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:"
21012111"`~ArgumentParser.parse_args`."
21022112msgstr ""
2113+ "Substituir :meth:`optparse.OptionParser.disable_interspersed_args` usando :"
2114+ "meth:`~ArgumentParser.parse_intermixed_args` em vez de :meth:"
2115+ "`~ArgumentParser.parse_args`."
21032116
21042117#: ../../library/argparse.rst:2100
21052118msgid ""
21062119"Replace callback actions and the ``callback_*`` keyword arguments with "
21072120"``type`` or ``action`` arguments."
21082121msgstr ""
2122+ "Substituir ações de função de retorno e argumentos nomeados ``callback_*`` "
2123+ "por argumentos ``type`` ou ``action``."
21092124
21102125#: ../../library/argparse.rst:2103
21112126msgid ""
21122127"Replace string names for ``type`` keyword arguments with the corresponding "
21132128"type objects (e.g. int, float, complex, etc)."
21142129msgstr ""
2130+ "Substituir nomes de strings para argumentos nomeados ``type`` pelos objetos "
2131+ "de tipo correspondentes (por exemplo, int, float, complex, etc)."
21152132
21162133#: ../../library/argparse.rst:2106
21172134msgid ""
21182135"Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
21192136"OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
21202137msgstr ""
2138+ "Substituir :class:`optparse.Values` por :class:`Namespace` e :exc:`optparse."
2139+ "OptionError` e :exc:`optparse.OptionValueError` por :exc:`ArgumentError`."
21212140
21222141#: ../../library/argparse.rst:2110
21232142msgid ""
21242143"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
21252144"with the standard Python syntax to use dictionaries to format strings, that "
21262145"is, ``%(default)s`` and ``%(prog)s``."
21272146msgstr ""
2147+ "Substituir strings com argumentos implícitos tal como ``%default`` ou "
2148+ "``%prog`` pela sintaxe padrão do Python para usar dicionários para formatar "
2149+ "strings, ou seja, ``%(default)s`` e ``%(prog)s``."
21282150
21292151#: ../../library/argparse.rst:2114
21302152msgid ""
21312153"Replace the OptionParser constructor ``version`` argument with a call to "
21322154"``parser.add_argument('--version', action='version', version='<the "
21332155"version>')``."
21342156msgstr ""
2157+ "Substituir o argumento ``version`` do construtor do OptionParser por uma "
2158+ "chamada a ``parser.add_argument('--version', action='version', version='<the "
2159+ "version>')``."