@@ -16,7 +16,8 @@ msgstr ""
16
16
"POT-Creation-Date : 2021-01-01 05:02+0000\n "
17
17
"PO-Revision-Date : 2017-02-16 23:02+0000\n "
18
18
"
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 "
20
21
"Language : pt_BR\n "
21
22
"MIME-Version : 1.0\n "
22
23
"Content-Type : text/plain; charset=UTF-8\n "
@@ -25,7 +26,7 @@ msgstr ""
25
26
26
27
#: ../../library/code.rst:2
27
28
msgid ":mod:`code` --- Interpreter base classes"
28
- msgstr ":mod:`code` --- Classes Bases do Intérprete "
29
+ msgstr ":mod:`code` --- Classes Bases do Interpretador "
29
30
30
31
#: ../../library/code.rst:7
31
32
msgid "**Source code:** :source:`Lib/code.py`"
@@ -45,36 +46,36 @@ msgstr ""
45
46
#: ../../library/code.rst:18
46
47
msgid ""
47
48
"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 "
50
51
"specifies the dictionary in which code will be executed; it defaults to a "
51
52
"newly created dictionary with key ``'__name__'`` set to ``'__console__'`` "
52
53
"and key ``'__doc__'`` set to ``None``."
53
54
msgstr ""
54
55
"Esta classe trata de analisar e interpretar o estado (espaço de nome do "
55
56
"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á "
58
59
"executado; ele é padrão para um dicionário recém-criado com a chave "
59
60
"``'__name__'`` set to ``'__console__'`` and key ``'__doc__'`` definido com "
60
61
"``None``."
61
62
62
63
#: ../../library/code.rst:28
63
64
msgid ""
64
65
"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."
67
68
msgstr ""
68
69
69
70
#: ../../library/code.rst:35
70
71
msgid ""
71
72
"Convenience function to run a read-eval-print loop. This creates a new "
72
73
"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 "
78
79
"discarded after use."
79
80
msgstr ""
80
81
@@ -85,11 +86,11 @@ msgstr "Parâmetro adicionado *exitmsg*."
85
86
#: ../../library/code.rst:50
86
87
msgid ""
87
88
"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 "
90
91
"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."
93
94
msgstr ""
94
95
95
96
#: ../../library/code.rst:57
@@ -102,16 +103,16 @@ msgstr ""
102
103
103
104
#: ../../library/code.rst:62
104
105
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; "
107
108
"raises :exc:`SyntaxError` if the command is complete and contains a syntax "
108
109
"error, or raises :exc:`OverflowError` or :exc:`ValueError` if the command "
109
110
"contains an invalid literal."
110
111
msgstr ""
111
112
112
113
#: ../../library/code.rst:72
113
114
msgid "Interactive Interpreter Objects"
114
- msgstr "Objetos de Intérprete Interativo"
115
+ msgstr "Objetos de Interpretador Interativo"
115
116
116
117
#: ../../library/code.rst:77
117
118
msgid ""
@@ -122,43 +123,43 @@ msgstr ""
122
123
123
124
#: ../../library/code.rst:81
124
125
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``."
129
130
msgstr ""
130
131
131
132
#: ../../library/code.rst:86
132
133
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``."
135
136
msgstr ""
136
137
137
138
#: ../../library/code.rst:89
138
139
msgid ""
139
140
"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 "
142
143
"``False``."
143
144
msgstr ""
144
145
145
146
#: ../../library/code.rst:93
146
147
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."
149
150
msgstr ""
150
151
151
152
#: ../../library/code.rst:99
152
153
msgid ""
153
154
"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."
156
157
msgstr ""
157
158
158
159
#: ../../library/code.rst:103
159
160
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 "
162
163
"deal with it."
163
164
msgstr ""
164
165
@@ -197,26 +198,26 @@ msgstr "Objetos de Console Interativos"
197
198
198
199
#: ../../library/code.rst:138
199
200
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."
203
204
msgstr ""
204
205
205
206
#: ../../library/code.rst:145
206
207
msgid ""
207
208
"Closely emulate the interactive Python console. The optional *banner* "
208
209
"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!)."
213
214
msgstr ""
214
215
215
216
#: ../../library/code.rst:151
216
217
msgid ""
217
218
"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."
220
221
msgstr ""
221
222
222
223
#: ../../library/code.rst:155
@@ -233,11 +234,11 @@ msgid ""
233
234
"trailing newline; it may have internal newlines. The line is appended to a "
234
235
"buffer and the interpreter's :meth:`runsource` method is called with the "
235
236
"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`)."
241
242
msgstr ""
242
243
243
244
#: ../../library/code.rst:176
@@ -247,7 +248,7 @@ msgstr ""
247
248
#: ../../library/code.rst:181
248
249
msgid ""
249
250
"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."
253
254
msgstr ""
0 commit comments