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

Skip to content

Commit e7bda70

Browse files
author
github-actions
committed
Merge 3.10 into 3.9
1 parent 273bd21 commit e7bda70

File tree

9 files changed

+1116
-1150
lines changed

9 files changed

+1116
-1150
lines changed

c-api/sys.po

Lines changed: 102 additions & 103 deletions
Large diffs are not rendered by default.

faq/programming.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ msgid ""
16041604
"especially under the form of tiny functions or methods (which are also often "
16051605
"detrimental to readability)."
16061606
msgstr ""
1607-
"As abstrações tendem a criar indireções e forçar o intérprete a trabalhar "
1607+
"As abstrações tendem a criar indireções e forçar o interpretador a trabalhar "
16081608
"mais. Se os níveis de indireção superarem a quantidade de trabalho útil "
16091609
"feito, seu programa ficará mais lento. Você deve evitar a abstração "
16101610
"excessiva, especialmente sob a forma de pequenas funções ou métodos (que "
@@ -2299,7 +2299,7 @@ msgstr ""
22992299
#: ../../faq/programming.rst:1667
23002300
msgid "My class defines __del__ but it is not called when I delete the object."
23012301
msgstr ""
2302-
"Minhas classe define __del__ mas o mesmo não é chamado quando eu deleto o "
2302+
"Minha classe define __del__, mas o mesmo não é chamado quando eu excluo o "
23032303
"objeto."
23042304

23052305
#: ../../faq/programming.rst:1669
@@ -2442,7 +2442,7 @@ msgstr ""
24422442
msgid "Likewise, new instances of mutable containers are never identical::"
24432443
msgstr ""
24442444
"Do mesmo jeito, novas instâncias de contêineres mutáveis nunca são "
2445-
"idênticas:: "
2445+
"idênticas::"
24462446

24472447
#: ../../faq/programming.rst:1794
24482448
msgid ""
@@ -2732,5 +2732,5 @@ msgid ""
27322732
"The nature of the problem is made clear if you print out the \"identity\" of "
27332733
"the class objects::"
27342734
msgstr ""
2735-
"A natureza do problema fica clara se você exibir a \"identidade\" da classe "
2736-
"objetos:: "
2735+
"A natureza do problema fica clara se você exibir a \"identidade\" dos "
2736+
"objetos da classe:: "

howto/functional.po

Lines changed: 283 additions & 293 deletions
Large diffs are not rendered by default.

library/_thread.po

Lines changed: 77 additions & 79 deletions
Large diffs are not rendered by default.

library/atexit.po

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ msgstr ""
1515
"POT-Creation-Date: 2021-06-23 06:41+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:50+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2021\n"
18-
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n"
18+
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
19+
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -37,10 +38,10 @@ msgid ""
3738
msgstr ""
3839
"O módulo :mod:`atexit` define funções para registrar e cancelar o registro "
3940
"de funções de limpeza. As funções assim registradas são executadas "
40-
"automaticamente após a conclusão normal do intérprete. O módulo "
41-
":mod:`atexit` executa essas funções na ordem *reversa* na qual foram "
42-
"registradas; se você inscrever ``A``, ``B`` e ``C``, no momento do término "
43-
"do interpretador, eles serão executados na ordem ``C``, ``B``, ``A`` ."
41+
"automaticamente após a conclusão normal do interpretador. O módulo :mod:"
42+
"`atexit` executa essas funções na ordem *reversa* na qual foram registradas; "
43+
"se você inscrever ``A``, ``B`` e ``C``, no momento do término do "
44+
"interpretador, eles serão executados na ordem ``C``, ``B``, ``A`` ."
4445

4546
#: ../../library/atexit.rst:19
4647
msgid ""
@@ -50,23 +51,23 @@ msgid ""
5051
msgstr ""
5152
"**Nota:** As funções registradas através deste módulo não são invocadas "
5253
"quando o programa é morto por um sinal não tratado pelo Python, quando um "
53-
"erro interno fatal do Python é detectado ou quando a função :func:`os._exit`"
54-
" é invocada."
54+
"erro interno fatal do Python é detectado ou quando a função :func:`os._exit` "
55+
"é invocada."
5556

5657
#: ../../library/atexit.rst:23
5758
msgid ""
5859
"When used with C-API subinterpreters, registered functions are local to the "
5960
"interpreter they were registered in."
6061
msgstr ""
61-
"Quando usadas com os subinterpretadores de C-API, as funções registradas são"
62-
" locais para o interpretador em que foram registradas."
62+
"Quando usadas com os subinterpretadores de C-API, as funções registradas são "
63+
"locais para o interpretador em que foram registradas."
6364

6465
#: ../../library/atexit.rst:29
6566
msgid ""
6667
"Register *func* as a function to be executed at termination. Any optional "
67-
"arguments that are to be passed to *func* must be passed as arguments to "
68-
":func:`register`. It is possible to register the same function and "
69-
"arguments more than once."
68+
"arguments that are to be passed to *func* must be passed as arguments to :"
69+
"func:`register`. It is possible to register the same function and arguments "
70+
"more than once."
7071
msgstr ""
7172
"Registre *func* como uma função a ser executada no término. Qualquer o "
7273
"argumento opcional que deve ser passado para *func* for passado como "
@@ -89,13 +90,13 @@ msgstr ""
8990

9091
#: ../../library/atexit.rst:40
9192
msgid ""
92-
"If an exception is raised during execution of the exit handlers, a traceback"
93-
" is printed (unless :exc:`SystemExit` is raised) and the exception "
94-
"information is saved. After all exit handlers have had a chance to run, the"
95-
" last exception to be raised is re-raised."
93+
"If an exception is raised during execution of the exit handlers, a traceback "
94+
"is printed (unless :exc:`SystemExit` is raised) and the exception "
95+
"information is saved. After all exit handlers have had a chance to run, the "
96+
"last exception to be raised is re-raised."
9697
msgstr ""
97-
"Se uma exceção é levantada durante a execução dos manipuladores de saída, um"
98-
" traceback é impresso (a menos que :exc:`SystemExit` seja levantada) e as "
98+
"Se uma exceção é levantada durante a execução dos manipuladores de saída, um "
99+
"traceback é impresso (a menos que :exc:`SystemExit` seja levantada) e as "
99100
"informações de exceção sejam salvas. Depois de todos os manipuladores de "
100101
"saída terem tido a chance de executar a última exceção a ser levantada, é "
101102
"levantada novamente."
@@ -109,11 +110,10 @@ msgstr ""
109110

110111
#: ../../library/atexit.rst:51
111112
msgid ""
112-
"Remove *func* from the list of functions to be run at interpreter shutdown."
113-
" After calling :func:`unregister`, *func* is guaranteed not to be called "
114-
"when the interpreter shuts down, even if it was registered more than once. "
115-
":func:`unregister` silently does nothing if *func* was not previously "
116-
"registered."
113+
"Remove *func* from the list of functions to be run at interpreter shutdown. "
114+
"After calling :func:`unregister`, *func* is guaranteed not to be called when "
115+
"the interpreter shuts down, even if it was registered more than once. :func:"
116+
"`unregister` silently does nothing if *func* was not previously registered."
117117
msgstr ""
118118
"Remove *func* da lista de funções a serem executadas no desligamento do "
119119
"interpretador. Depois de chamar :func:`unregister`, *func* tem garantia de "
@@ -130,8 +130,8 @@ msgid ""
130130
"Useful example of :mod:`atexit` to read and write :mod:`readline` history "
131131
"files."
132132
msgstr ""
133-
"Exemplo útil de :mod:`atexit` para ler e escrever arquivos de histórico de "
134-
":mod:`readline`."
133+
"Exemplo útil de :mod:`atexit` para ler e escrever arquivos de histórico de :"
134+
"mod:`readline`."
135135

136136
#: ../../library/atexit.rst:68
137137
msgid ":mod:`atexit` Example"
@@ -140,9 +140,9 @@ msgstr "Exemplo do :mod:`atexit`"
140140
#: ../../library/atexit.rst:70
141141
msgid ""
142142
"The following simple example demonstrates how a module can initialize a "
143-
"counter from a file when it is imported and save the counter's updated value"
144-
" automatically when the program terminates without relying on the "
145-
"application making an explicit call into this module at termination. ::"
143+
"counter from a file when it is imported and save the counter's updated value "
144+
"automatically when the program terminates without relying on the application "
145+
"making an explicit call into this module at termination. ::"
146146
msgstr ""
147147
"O exemplo simples a seguir demonstra como um módulo pode inicializar um "
148148
"contador de um arquivo quando ele é importado e salvar automaticamente o "

library/code.po

Lines changed: 52 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ msgstr ""
1616
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1717
"PO-Revision-Date: 2017-02-16 23:02+0000\n"
1818
"Last-Translator: i17obot <[email protected]>, 2020\n"
19-
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n"
19+
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
20+
"teams/5390/pt_BR/)\n"
2021
"Language: pt_BR\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,7 +26,7 @@ msgstr ""
2526

2627
#: ../../library/code.rst:2
2728
msgid ":mod:`code` --- Interpreter base classes"
28-
msgstr ":mod:`code` --- Classes Bases do Intérprete"
29+
msgstr ":mod:`code` --- Classes Bases do Interpretador"
2930

3031
#: ../../library/code.rst:7
3132
msgid "**Source code:** :source:`Lib/code.py`"
@@ -45,36 +46,36 @@ msgstr ""
4546
#: ../../library/code.rst:18
4647
msgid ""
4748
"This class deals with parsing and interpreter state (the user's namespace); "
48-
"it does not deal with input buffering or prompting or input file naming (the"
49-
" filename is always passed in explicitly). The optional *locals* argument "
49+
"it does not deal with input buffering or prompting or input file naming (the "
50+
"filename is always passed in explicitly). The optional *locals* argument "
5051
"specifies the dictionary in which code will be executed; it defaults to a "
5152
"newly created dictionary with key ``'__name__'`` set to ``'__console__'`` "
5253
"and key ``'__doc__'`` set to ``None``."
5354
msgstr ""
5455
"Esta classe trata de analisar e interpretar o estado (espaço de nome do "
5556
"usuário); o mesmo não lida com buffer de entrada ou solicitação ou nomeação "
56-
"de arquivo de entrada (o nome do arquivo é sempre passado explicitamente). O"
57-
" argumento opcional *local* especifica o dicionário no qual o código será "
57+
"de arquivo de entrada (o nome do arquivo é sempre passado explicitamente). O "
58+
"argumento opcional *local* especifica o dicionário no qual o código será "
5859
"executado; ele é padrão para um dicionário recém-criado com a chave "
5960
"``'__name__'`` set to ``'__console__'`` and key ``'__doc__'`` definido com "
6061
"``None``."
6162

6263
#: ../../library/code.rst:28
6364
msgid ""
6465
"Closely emulate the behavior of the interactive Python interpreter. This "
65-
"class builds on :class:`InteractiveInterpreter` and adds prompting using the"
66-
" familiar ``sys.ps1`` and ``sys.ps2``, and input buffering."
66+
"class builds on :class:`InteractiveInterpreter` and adds prompting using the "
67+
"familiar ``sys.ps1`` and ``sys.ps2``, and input buffering."
6768
msgstr ""
6869

6970
#: ../../library/code.rst:35
7071
msgid ""
7172
"Convenience function to run a read-eval-print loop. This creates a new "
7273
"instance of :class:`InteractiveConsole` and sets *readfunc* to be used as "
73-
"the :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is"
74-
" provided, it is passed to the :class:`InteractiveConsole` constructor for "
75-
"use as the default namespace for the interpreter loop. The :meth:`interact`"
76-
" method of the instance is then run with *banner* and *exitmsg* passed as "
77-
"the banner and exit message to use, if provided. The console object is "
74+
"the :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is "
75+
"provided, it is passed to the :class:`InteractiveConsole` constructor for "
76+
"use as the default namespace for the interpreter loop. The :meth:`interact` "
77+
"method of the instance is then run with *banner* and *exitmsg* passed as the "
78+
"banner and exit message to use, if provided. The console object is "
7879
"discarded after use."
7980
msgstr ""
8081

@@ -85,11 +86,11 @@ msgstr "Parâmetro adicionado *exitmsg*."
8586
#: ../../library/code.rst:50
8687
msgid ""
8788
"This function is useful for programs that want to emulate Python's "
88-
"interpreter main loop (a.k.a. the read-eval-print loop). The tricky part is"
89-
" to determine when the user has entered an incomplete command that can be "
89+
"interpreter main loop (a.k.a. the read-eval-print loop). The tricky part is "
90+
"to determine when the user has entered an incomplete command that can be "
9091
"completed by entering more text (as opposed to a complete command or a "
91-
"syntax error). This function *almost* always makes the same decision as the"
92-
" real interpreter main loop."
92+
"syntax error). This function *almost* always makes the same decision as the "
93+
"real interpreter main loop."
9394
msgstr ""
9495

9596
#: ../../library/code.rst:57
@@ -102,16 +103,16 @@ msgstr ""
102103

103104
#: ../../library/code.rst:62
104105
msgid ""
105-
"Returns a code object (the same as ``compile(source, filename, symbol)``) if"
106-
" the command is complete and valid; ``None`` if the command is incomplete; "
106+
"Returns a code object (the same as ``compile(source, filename, symbol)``) if "
107+
"the command is complete and valid; ``None`` if the command is incomplete; "
107108
"raises :exc:`SyntaxError` if the command is complete and contains a syntax "
108109
"error, or raises :exc:`OverflowError` or :exc:`ValueError` if the command "
109110
"contains an invalid literal."
110111
msgstr ""
111112

112113
#: ../../library/code.rst:72
113114
msgid "Interactive Interpreter Objects"
114-
msgstr "Objetos de Intérprete Interativo"
115+
msgstr "Objetos de Interpretador Interativo"
115116

116117
#: ../../library/code.rst:77
117118
msgid ""
@@ -122,43 +123,43 @@ msgstr ""
122123

123124
#: ../../library/code.rst:81
124125
msgid ""
125-
"The input is incorrect; :func:`compile_command` raised an exception "
126-
"(:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be "
127-
"printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` "
128-
"returns ``False``."
126+
"The input is incorrect; :func:`compile_command` raised an exception (:exc:"
127+
"`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be printed "
128+
"by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns "
129+
"``False``."
129130
msgstr ""
130131

131132
#: ../../library/code.rst:86
132133
msgid ""
133-
"The input is incomplete, and more input is required; :func:`compile_command`"
134-
" returned ``None``. :meth:`runsource` returns ``True``."
134+
"The input is incomplete, and more input is required; :func:`compile_command` "
135+
"returned ``None``. :meth:`runsource` returns ``True``."
135136
msgstr ""
136137

137138
#: ../../library/code.rst:89
138139
msgid ""
139140
"The input is complete; :func:`compile_command` returned a code object. The "
140-
"code is executed by calling the :meth:`runcode` (which also handles run-time"
141-
" exceptions, except for :exc:`SystemExit`). :meth:`runsource` returns "
141+
"code is executed by calling the :meth:`runcode` (which also handles run-time "
142+
"exceptions, except for :exc:`SystemExit`). :meth:`runsource` returns "
142143
"``False``."
143144
msgstr ""
144145

145146
#: ../../library/code.rst:93
146147
msgid ""
147-
"The return value can be used to decide whether to use ``sys.ps1`` or "
148-
"``sys.ps2`` to prompt the next line."
148+
"The return value can be used to decide whether to use ``sys.ps1`` or ``sys."
149+
"ps2`` to prompt the next line."
149150
msgstr ""
150151

151152
#: ../../library/code.rst:99
152153
msgid ""
153154
"Execute a code object. When an exception occurs, :meth:`showtraceback` is "
154-
"called to display a traceback. All exceptions are caught except "
155-
":exc:`SystemExit`, which is allowed to propagate."
155+
"called to display a traceback. All exceptions are caught except :exc:"
156+
"`SystemExit`, which is allowed to propagate."
156157
msgstr ""
157158

158159
#: ../../library/code.rst:103
159160
msgid ""
160-
"A note about :exc:`KeyboardInterrupt`: this exception may occur elsewhere in"
161-
" this code, and may not always be caught. The caller should be prepared to "
161+
"A note about :exc:`KeyboardInterrupt`: this exception may occur elsewhere in "
162+
"this code, and may not always be caught. The caller should be prepared to "
162163
"deal with it."
163164
msgstr ""
164165

@@ -197,26 +198,26 @@ msgstr "Objetos de Console Interativos"
197198

198199
#: ../../library/code.rst:138
199200
msgid ""
200-
"The :class:`InteractiveConsole` class is a subclass of "
201-
":class:`InteractiveInterpreter`, and so offers all the methods of the "
202-
"interpreter objects as well as the following additions."
201+
"The :class:`InteractiveConsole` class is a subclass of :class:"
202+
"`InteractiveInterpreter`, and so offers all the methods of the interpreter "
203+
"objects as well as the following additions."
203204
msgstr ""
204205

205206
#: ../../library/code.rst:145
206207
msgid ""
207208
"Closely emulate the interactive Python console. The optional *banner* "
208209
"argument specify the banner to print before the first interaction; by "
209-
"default it prints a banner similar to the one printed by the standard Python"
210-
" interpreter, followed by the class name of the console object in "
211-
"parentheses (so as not to confuse this with the real interpreter -- since "
212-
"it's so close!)."
210+
"default it prints a banner similar to the one printed by the standard Python "
211+
"interpreter, followed by the class name of the console object in parentheses "
212+
"(so as not to confuse this with the real interpreter -- since it's so "
213+
"close!)."
213214
msgstr ""
214215

215216
#: ../../library/code.rst:151
216217
msgid ""
217218
"The optional *exitmsg* argument specifies an exit message printed when "
218-
"exiting. Pass the empty string to suppress the exit message. If *exitmsg* is"
219-
" not given or ``None``, a default message is printed."
219+
"exiting. Pass the empty string to suppress the exit message. If *exitmsg* is "
220+
"not given or ``None``, a default message is printed."
220221
msgstr ""
221222

222223
#: ../../library/code.rst:155
@@ -233,11 +234,11 @@ msgid ""
233234
"trailing newline; it may have internal newlines. The line is appended to a "
234235
"buffer and the interpreter's :meth:`runsource` method is called with the "
235236
"concatenated contents of the buffer as source. If this indicates that the "
236-
"command was executed or invalid, the buffer is reset; otherwise, the command"
237-
" is incomplete, and the buffer is left as it was after the line was "
238-
"appended. The return value is ``True`` if more input is required, ``False``"
239-
" if the line was dealt with in some way (this is the same as "
240-
":meth:`runsource`)."
237+
"command was executed or invalid, the buffer is reset; otherwise, the command "
238+
"is incomplete, and the buffer is left as it was after the line was "
239+
"appended. The return value is ``True`` if more input is required, ``False`` "
240+
"if the line was dealt with in some way (this is the same as :meth:"
241+
"`runsource`)."
241242
msgstr ""
242243

243244
#: ../../library/code.rst:176
@@ -247,7 +248,7 @@ msgstr ""
247248
#: ../../library/code.rst:181
248249
msgid ""
249250
"Write a prompt and read a line. The returned line does not include the "
250-
"trailing newline. When the user enters the EOF key sequence, "
251-
":exc:`EOFError` is raised. The base implementation reads from ``sys.stdin``;"
252-
" a subclass may replace this with a different implementation."
251+
"trailing newline. When the user enters the EOF key sequence, :exc:"
252+
"`EOFError` is raised. The base implementation reads from ``sys.stdin``; a "
253+
"subclass may replace this with a different implementation."
253254
msgstr ""

0 commit comments

Comments
 (0)