@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.10\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-01-21 22:53 +0000\n "
14
+ "POT-Creation-Date : 2025-04-11 16:03 +0000\n "
15
15
"PO-Revision-Date : 2022-11-05 17:22+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -60,13 +60,19 @@ msgid ""
60
60
"repr` function described below. Changing the attributes of this object will "
61
61
"affect the size limits used by :func:`.repr` and the Python debugger."
62
62
msgstr ""
63
+ "Esta é uma instância de :class:`Repr` que é usada para fornecer a função :"
64
+ "func:`.repr` descrita abaixo. Alterar os atributos deste objeto afetará os "
65
+ "limites de tamanho usados por :func:`.repr` e pelo depurador Python."
63
66
64
67
#: ../../library/reprlib.rst:37
65
68
msgid ""
66
69
"This is the :meth:`~Repr.repr` method of ``aRepr``. It returns a string "
67
70
"similar to that returned by the built-in function of the same name, but with "
68
71
"limits on most sizes."
69
72
msgstr ""
73
+ "Este é o método :meth:`~Repr.repr` de ``aRepr``. Ele retorna uma string "
74
+ "semelhante à retornada pela função embutida de mesmo nome, mas com limites "
75
+ "na maioria dos tamanhos."
70
76
71
77
#: ../../library/reprlib.rst:41
72
78
msgid ""
@@ -92,25 +98,35 @@ msgid ""
92
98
"provide size limits for the representations of different object types, and "
93
99
"methods which format specific object types."
94
100
msgstr ""
101
+ "Instâncias :class:`Repr` fornecem vários atributos que podem ser usados para "
102
+ "fornecer limites de tamanho para as representações de diferentes tipos de "
103
+ "objetos e métodos que formatam tipos de objetos específicos."
95
104
96
105
#: ../../library/reprlib.rst:81
97
106
msgid ""
98
107
"Depth limit on the creation of recursive representations. The default is "
99
108
"``6``."
100
109
msgstr ""
110
+ "Limite de profundidade na criação de representações recursivas. O padrão é "
111
+ "``6``."
101
112
102
113
#: ../../library/reprlib.rst:92
103
114
msgid ""
104
115
"Limits on the number of entries represented for the named object type. The "
105
116
"default is ``4`` for :attr:`maxdict`, ``5`` for :attr:`maxarray`, and ``6`` "
106
117
"for the others."
107
118
msgstr ""
119
+ "Limites no número de entradas representadas para o tipo de objeto nomeado. O "
120
+ "padrão é ``4`` para :attr:`maxdict`, ``5`` para :attr:`maxarray` e ``6`` "
121
+ "para os demais."
108
122
109
123
#: ../../library/reprlib.rst:99
110
124
msgid ""
111
125
"Maximum number of characters in the representation for an integer. Digits "
112
126
"are dropped from the middle. The default is ``40``."
113
127
msgstr ""
128
+ "Número máximo de caracteres na representação para um inteiro. Os dígitos são "
129
+ "omitidos a partir do meio. O padrão é ``40``."
114
130
115
131
#: ../../library/reprlib.rst:105
116
132
msgid ""
@@ -119,19 +135,29 @@ msgid ""
119
135
"source: if escape sequences are needed in the representation, these may be "
120
136
"mangled when the representation is shortened. The default is ``30``."
121
137
msgstr ""
138
+ "Limite no número de caracteres na representação da string. Observe que a "
139
+ "representação \" normal\" da string é usada como fonte de caracteres: se "
140
+ "sequências de escape forem necessárias na representação, elas poderão ser "
141
+ "distorcidas quando a representação for encurtada. O padrão é ``30``."
122
142
123
143
#: ../../library/reprlib.rst:113
124
144
msgid ""
125
145
"This limit is used to control the size of object types for which no specific "
126
146
"formatting method is available on the :class:`Repr` object. It is applied in "
127
147
"a similar manner as :attr:`maxstring`. The default is ``20``."
128
148
msgstr ""
149
+ "Este limite é usado para controlar o tamanho de tipos de objetos para os "
150
+ "quais nenhum método de formatação específico está disponível no objeto :"
151
+ "class:`Repr`. Ele é aplicado de maneira semelhante a :attr:`maxstring`. O "
152
+ "padrão é ``20``."
129
153
130
154
#: ../../library/reprlib.rst:120
131
155
msgid ""
132
156
"The equivalent to the built-in :func:`repr` that uses the formatting imposed "
133
157
"by the instance."
134
158
msgstr ""
159
+ "O equivalente ao :func:`repr` embutido que usa a formatação imposta pela "
160
+ "instância."
135
161
136
162
#: ../../library/reprlib.rst:126
137
163
msgid ""
@@ -141,6 +167,11 @@ msgid ""
141
167
"formatting, with ``level - 1`` for the value of *level* in the recursive "
142
168
"call."
143
169
msgstr ""
170
+ "Implementação recursiva usada por :meth:`.repr`. Esta usa o tipo de *obj* "
171
+ "para determinar qual método de formatação chamar, passando *obj* e *level*. "
172
+ "Os métodos específicos de tipo devem chamar :meth:`repr1` para realizar a "
173
+ "formatação recursiva, com ``level - 1`` para o valor de *level* na chamada "
174
+ "recursiva."
144
175
145
176
#: ../../library/reprlib.rst:135
146
177
msgid ""
@@ -150,10 +181,16 @@ msgid ""
150
181
"meth:`repr1`. Type-specific methods which need to recursively format a value "
151
182
"should call ``self.repr1(subobj, level - 1)``."
152
183
msgstr ""
184
+ "Métodos de formatação para tipos específicos são implementados como métodos "
185
+ "com um nome baseado no nome do tipo. No nome do método, **TYPE** é "
186
+ "substituído por ``'_'.join(type(obj).__name__.split())``. O despacho para "
187
+ "esses métodos é tratado por :meth:`repr1`. Métodos específicos de tipo que "
188
+ "precisam formatar um valor recursivamente devem chamar ``self.repr1(subobj, "
189
+ "level - 1)``."
153
190
154
191
#: ../../library/reprlib.rst:145
155
192
msgid "Subclassing Repr Objects"
156
- msgstr ""
193
+ msgstr "Estendendo objetos Repr "
157
194
158
195
#: ../../library/reprlib.rst:147
159
196
msgid ""
0 commit comments