@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.12\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-01-05 14:14 +0000\n "
14+ "POT-Creation-Date : 2024-02-02 14:13 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:48+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
1717"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -126,6 +126,51 @@ msgstr ""
126126
127127#: ../../c-api/conversion.rst:53
128128msgid ""
129+ "Convert the initial part of the string in ``str`` to an :c:expr:`unsigned "
130+ "long` value according to the given ``base``, which must be between ``2`` and "
131+ "``36`` inclusive, or be the special value ``0``."
132+ msgstr ""
133+
134+ #: ../../c-api/conversion.rst:57
135+ msgid ""
136+ "Leading white space and case of characters are ignored. If ``base`` is zero "
137+ "it looks for a leading ``0b``, ``0o`` or ``0x`` to tell which base. If "
138+ "these are absent it defaults to ``10``. Base must be 0 or between 2 and 36 "
139+ "(inclusive). If ``ptr`` is non-``NULL`` it will contain a pointer to the "
140+ "end of the scan."
141+ msgstr ""
142+
143+ #: ../../c-api/conversion.rst:63
144+ msgid ""
145+ "If the converted value falls out of range of corresponding return type, "
146+ "range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`) and :c:"
147+ "macro:`!ULONG_MAX` is returned. If no conversion can be performed, ``0`` is "
148+ "returned."
149+ msgstr ""
150+
151+ #: ../../c-api/conversion.rst:68
152+ msgid "See also the Unix man page :manpage:`strtoul(3)`."
153+ msgstr ""
154+
155+ #: ../../c-api/conversion.rst:75
156+ msgid ""
157+ "Convert the initial part of the string in ``str`` to an :c:expr:`long` value "
158+ "according to the given ``base``, which must be between ``2`` and ``36`` "
159+ "inclusive, or be the special value ``0``."
160+ msgstr ""
161+
162+ #: ../../c-api/conversion.rst:79
163+ msgid ""
164+ "Same as :c:func:`PyOS_strtoul`, but return a :c:expr:`long` value instead "
165+ "and :c:macro:`LONG_MAX` on overflows."
166+ msgstr ""
167+
168+ #: ../../c-api/conversion.rst:82
169+ msgid "See also the Unix man page :manpage:`strtol(3)`."
170+ msgstr ""
171+
172+ #: ../../c-api/conversion.rst:89
173+ msgid ""
129174"Convert a string ``s`` to a :c:expr:`double`, raising a Python exception on "
130175"failure. The set of accepted strings corresponds to the set of strings "
131176"accepted by Python's :func:`float` constructor, except that ``s`` must not "
@@ -138,7 +183,7 @@ msgstr ""
138183"deve ter espaços em branco à esquerda ou à direita. A conversão é "
139184"independente da localidade atual."
140185
141- #: ../../c-api/conversion.rst:59
186+ #: ../../c-api/conversion.rst:95
142187msgid ""
143188"If ``endptr`` is ``NULL``, convert the whole string. Raise :exc:"
144189"`ValueError` and return ``-1.0`` if the string is not a valid representation "
@@ -148,7 +193,7 @@ msgstr ""
148193"`ValueError` e retorna ``-1.0`` se a string não for uma representação válida "
149194"de um número de ponto flutuante."
150195
151- #: ../../c-api/conversion.rst:63
196+ #: ../../c-api/conversion.rst:99
152197msgid ""
153198"If endptr is not ``NULL``, convert as much of the string as possible and set "
154199"``*endptr`` to point to the first unconverted character. If no initial "
@@ -162,7 +207,7 @@ msgstr ""
162207"flutuante, define ``*endptr`` para apontar para o início da string, levanta "
163208"ValueError e retorne ``-1.0``."
164209
165- #: ../../c-api/conversion.rst:70
210+ #: ../../c-api/conversion.rst:106
166211msgid ""
167212"If ``s`` represents a value that is too large to store in a float (for "
168213"example, ``\" 1e500\" `` is such a string on many platforms) then if "
@@ -180,23 +225,23 @@ msgstr ""
180225"Python; levantar essa exceção e retornar ``-1.0``. Em ambos os casos, define "
181226"``*endptr`` para apontar para o primeiro caractere após o valor convertido."
182227
183- #: ../../c-api/conversion.rst:78
228+ #: ../../c-api/conversion.rst:114
184229msgid ""
185230"If any other error occurs during the conversion (for example an out-of-"
186231"memory error), set the appropriate Python exception and return ``-1.0``."
187232msgstr ""
188233"Se qualquer outro erro ocorrer durante a conversão (por exemplo, um erro de "
189234"falta de memória), define a exceção Python apropriada e retorna ``-1.0``."
190235
191- #: ../../c-api/conversion.rst:87
236+ #: ../../c-api/conversion.rst:123
192237msgid ""
193238"Convert a :c:expr:`double` *val* to a string using supplied *format_code*, "
194239"*precision*, and *flags*."
195240msgstr ""
196241"Converte um :c:expr:`double` *val* para uma string usando *format_code*, "
197242"*precision* e *flags* fornecidos."
198243
199- #: ../../c-api/conversion.rst:90
244+ #: ../../c-api/conversion.rst:126
200245msgid ""
201246"*format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``, ``'g'``, "
202247"``'G'`` or ``'r'``. For ``'r'``, the supplied *precision* must be 0 and is "
@@ -207,31 +252,31 @@ msgstr ""
207252"0 e é ignorada. O código de formato ``'r'`` especifica o formato padrão de :"
208253"func:`repr`."
209254
210- #: ../../c-api/conversion.rst:95
255+ #: ../../c-api/conversion.rst:131
211256msgid ""
212257"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
213258"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
214259msgstr ""
215260"*flags* pode ser zero ou mais de valores ``Py_DTSF_SIGN``, "
216261"``Py_DTSF_ADD_DOT_0`` ou ``Py_DTSF_ALT``, alternados por operador lógico OU:"
217262
218- #: ../../c-api/conversion.rst:98
263+ #: ../../c-api/conversion.rst:134
219264msgid ""
220265"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
221266"character, even if *val* is non-negative."
222267msgstr ""
223268"``Py_DTSF_SIGN`` significa sempre preceder a string retornada com um "
224269"caractere de sinal, mesmo se *val* não for negativo."
225270
226- #: ../../c-api/conversion.rst:101
271+ #: ../../c-api/conversion.rst:137
227272msgid ""
228273"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look "
229274"like an integer."
230275msgstr ""
231276"``Py_DTSF_ADD_DOT_0`` significa garantir que a string retornada não se "
232277"pareça com um inteiro."
233278
234- #: ../../c-api/conversion.rst:104
279+ #: ../../c-api/conversion.rst:140
235280msgid ""
236281"``Py_DTSF_ALT`` means to apply \" alternate\" formatting rules. See the "
237282"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
@@ -240,7 +285,7 @@ msgstr ""
240285"Veja a documentação para o especificador ``'#'`` de :c:func:`PyOS_snprintf` "
241286"para detalhes."
242287
243- #: ../../c-api/conversion.rst:108
288+ #: ../../c-api/conversion.rst:144
244289msgid ""
245290"If *ptype* is non-``NULL``, then the value it points to will be set to one "
246291"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying "
@@ -252,7 +297,7 @@ msgstr ""
252297"``Py_DTST_NAN``, significando que *val* é um número finito, um número "
253298"infinito ou não um número, respectivamente."
254299
255- #: ../../c-api/conversion.rst:112
300+ #: ../../c-api/conversion.rst:148
256301msgid ""
257302"The return value is a pointer to *buffer* with the converted string or "
258303"``NULL`` if the conversion failed. The caller is responsible for freeing the "
@@ -262,7 +307,7 @@ msgstr ""
262307"``NULL`` se a conversão falhou. O chamador é responsável por liberar a "
263308"string retornada chamando :c:func:`PyMem_Free`."
264309
265- #: ../../c-api/conversion.rst:121
310+ #: ../../c-api/conversion.rst:157
266311msgid ""
267312"Case insensitive comparison of strings. The function works almost "
268313"identically to :c:func:`!strcmp` except that it ignores the case."
@@ -271,7 +316,7 @@ msgstr ""
271316"funciona quase de forma idêntica a :c:func:`!strcmp` exceto que ignora o "
272317"caso."
273318
274- #: ../../c-api/conversion.rst:127
319+ #: ../../c-api/conversion.rst:163
275320msgid ""
276321"Case insensitive comparison of strings. The function works almost "
277322"identically to :c:func:`!strncmp` except that it ignores the case."
0 commit comments