X Tutup
Skip to content

Commit d879e88

Browse files
committed
tx pull
1 parent 9189fc1 commit d879e88

File tree

130 files changed

+10640
-9230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+10640
-9230
lines changed

c-api/arg.po

Lines changed: 112 additions & 68 deletions
Large diffs are not rendered by default.

c-api/buffer.po

Lines changed: 20 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.8\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2019-09-12 11:28+0000\n"
17+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1818
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1919
"Last-Translator: felipe caridade <caridade500@gmail.com>, 2019\n"
2020
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
@@ -216,24 +216,17 @@ msgstr ""
216216
#: ../../c-api/buffer.rst:104
217217
msgid ""
218218
"A new reference to the exporting object. The reference is owned by the "
219-
"consumer and automatically decremented and set to *NULL* by :c:func:"
219+
"consumer and automatically decremented and set to ``NULL`` by :c:func:"
220220
"`PyBuffer_Release`. The field is the equivalent of the return value of any "
221221
"standard C-API function."
222222
msgstr ""
223-
"Uma nova referência ao objeto exportador. A referência é de propriedade do "
224-
"consumidor e automaticamente diminuída e definida como *NULL* por :c:func:"
225-
"`PyBuffer_Release`. O campo é o equivalente ao valor de retorno de qualquer "
226-
"função C-API padrão."
227223

228224
#: ../../c-api/buffer.rst:109
229225
msgid ""
230226
"As a special case, for *temporary* buffers that are wrapped by :c:func:"
231227
"`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field is "
232-
"*NULL*. In general, exporting objects MUST NOT use this scheme."
228+
"``NULL``. In general, exporting objects MUST NOT use this scheme."
233229
msgstr ""
234-
"Como um caso especial, para buffers * temporários * que são envolvidos por :"
235-
"c:func:`PyMemoryView_FromBuffer` ou :c:func:`PyBuffer_FillInfo` este campo é "
236-
"*NULL*. Em geral, a exportação de objetos NÃO DEVE usar este esquema."
237230

238231
#: ../../c-api/buffer.rst:116
239232
msgid ""
@@ -270,22 +263,16 @@ msgstr ""
270263
#: ../../c-api/buffer.rst:132
271264
msgid ""
272265
"Item size in bytes of a single element. Same as the value of :func:`struct."
273-
"calcsize` called on non-NULL :c:member:`~Py_buffer.format` values."
266+
"calcsize` called on non-``NULL`` :c:member:`~Py_buffer.format` values."
274267
msgstr ""
275-
"Tamanho do item em bytes de um único elemento. Igual ao valor de:func:"
276-
"`struct.calcsize` chamado valores não-NULL :c:member:`~Py_buffer.format`."
277268

278269
#: ../../c-api/buffer.rst:135
279270
msgid ""
280271
"Important exception: If a consumer requests a buffer without the :c:macro:"
281-
"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to *NULL*, "
282-
"but :c:member:`~Py_buffer.itemsize` still has the value for the original "
283-
"format."
272+
"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
273+
"``NULL``, but :c:member:`~Py_buffer.itemsize` still has the value for the "
274+
"original format."
284275
msgstr ""
285-
"Exceção importante: se um consumidor solicitar um buffer sem a :c:macro:"
286-
"`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` será definido como "
287-
"*NULL*, mas :c:member:`~Py_buffer.itemsize` ainda tem o valor para o "
288-
"formato original."
289276

290277
#: ../../c-api/buffer.rst:140
291278
msgid ""
@@ -299,23 +286,17 @@ msgstr ""
299286

300287
#: ../../c-api/buffer.rst:144
301288
msgid ""
302-
"If :c:member:`~Py_buffer.shape` is *NULL* as a result of a :c:macro:"
289+
"If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a :c:macro:"
303290
"`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer must "
304291
"disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == 1``."
305292
msgstr ""
306-
"Se:c:member:`~Py_buffer.shape` é *NULL* como resultado de uma :c:macro:"
307-
"`PyBUF_SIMPLE` ou uma solicitação :c:macro:`PyBUF_WRITABLE`, o consumidor "
308-
"deve ignorar :c:member:`~Py_buffer.itemsize` e assume ``itemsize == 1``."
309293

310294
#: ../../c-api/buffer.rst:150
311295
msgid ""
312296
"A *NUL* terminated string in :mod:`struct` module style syntax describing "
313-
"the contents of a single item. If this is *NULL*, ``\"B\"`` (unsigned bytes) "
314-
"is assumed."
297+
"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned "
298+
"bytes) is assumed."
315299
msgstr ""
316-
"A *NUL* terminou string em :mod: sintaxe de estilo de módulo `struct` "
317-
"descrevendo o conteúdo de um único item. Se isso for *NULL*, ``\"B\"`` "
318-
"(bytes não assinados) é assumido."
319300

320301
#: ../../c-api/buffer.rst:154
321302
msgid "This field is controlled by the :c:macro:`PyBUF_FORMAT` flag."
@@ -326,13 +307,8 @@ msgid ""
326307
"The number of dimensions the memory represents as an n-dimensional array. If "
327308
"it is ``0``, :c:member:`~Py_buffer.buf` points to a single item representing "
328309
"a scalar. In this case, :c:member:`~Py_buffer.shape`, :c:member:`~Py_buffer."
329-
"strides` and :c:member:`~Py_buffer.suboffsets` MUST be *NULL*."
310+
"strides` and :c:member:`~Py_buffer.suboffsets` MUST be ``NULL``."
330311
msgstr ""
331-
"O número de dimensões que a memória representa como uma matriz n-"
332-
"dimensional. Se for ``0``, :c:member:`~Py_buffer.buf` aponta para um único "
333-
"item que representa um escalar. Neste caso, :c:membro:`~Py_buffer.shape`, :c:"
334-
"member:`~Py_buffer.strides` e :c:member:`~Py_buffer.suboffsets DEVE ser "
335-
"*NULL*."
336312

337313
#: ../../c-api/buffer.rst:163
338314
msgid ""
@@ -412,7 +388,7 @@ msgstr ""
412388
#: ../../c-api/buffer.rst:201
413389
msgid ""
414390
"If all suboffsets are negative (i.e. no de-referencing is needed), then this "
415-
"field must be NULL (the default value)."
391+
"field must be ``NULL`` (the default value)."
416392
msgstr ""
417393

418394
#: ../../c-api/buffer.rst:204
@@ -501,10 +477,8 @@ msgstr ""
501477
#: ../../c-api/buffer.rst:250
502478
msgid ""
503479
"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be "
504-
"filled in correctly. Otherwise, this field MUST be *NULL*."
480+
"filled in correctly. Otherwise, this field MUST be ``NULL``."
505481
msgstr ""
506-
"Controla o campo :c:member:`~Py_buffer.format`. Se configurado, este campo "
507-
"DEVE ser preenchido corretamente. Caso contrário, este campo DEVE ser *NULL*."
508482

509483
#: ../../c-api/buffer.rst:254
510484
msgid ""
@@ -676,12 +650,12 @@ msgid ""
676650
"If ``ndim == 0``, the memory location pointed to by :c:member:`~Py_buffer."
677651
"buf` is interpreted as a scalar of size :c:member:`~Py_buffer.itemsize`. In "
678652
"that case, both :c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer."
679-
"strides` are *NULL*."
653+
"strides` are ``NULL``."
680654
msgstr ""
681655

682656
#: ../../c-api/buffer.rst:354
683657
msgid ""
684-
"If :c:member:`~Py_buffer.strides` is *NULL*, the array is interpreted as a "
658+
"If :c:member:`~Py_buffer.strides` is ``NULL``, the array is interpreted as a "
685659
"standard n-dimensional C-array. Otherwise, the consumer must access an n-"
686660
"dimensional array as follows:"
687661
msgstr ""
@@ -711,8 +685,8 @@ msgstr ""
711685
#: ../../c-api/buffer.rst:409
712686
msgid ""
713687
"Here is a function that returns a pointer to the element in an N-D array "
714-
"pointed to by an N-dimensional index when there are both non-NULL strides "
715-
"and suboffsets::"
688+
"pointed to by an N-dimensional index when there are both non-``NULL`` "
689+
"strides and suboffsets::"
716690
msgstr ""
717691

718692
#: ../../c-api/buffer.rst:428
@@ -730,7 +704,7 @@ msgstr ""
730704
msgid ""
731705
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
732706
"the exporter cannot provide a buffer of the exact type, it MUST raise :c:"
733-
"data:`PyExc_BufferError`, set :c:member:`view->obj` to *NULL* and return "
707+
"data:`PyExc_BufferError`, set :c:member:`view->obj` to ``NULL`` and return "
734708
"``-1``."
735709
msgstr ""
736710

@@ -827,12 +801,12 @@ msgstr ""
827801
msgid ""
828802
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
829803
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set :c:member:`view-"
830-
">obj` to *NULL* and return ``-1``;"
804+
">obj` to ``NULL`` and return ``-1``;"
831805
msgstr ""
832806

833807
#: ../../c-api/buffer.rst:521
834808
msgid ""
835809
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, "
836810
"*exporter* MUST be set to the exporting object and *flags* must be passed "
837-
"unmodified. Otherwise, *exporter* MUST be NULL."
811+
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
838812
msgstr ""

c-api/bytearray.po

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.8\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
15+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1717
"Last-Translator: msilvavieira, 2017\n"
1818
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
@@ -76,10 +76,8 @@ msgstr ""
7676
#: ../../c-api/bytearray.rst:50
7777
msgid ""
7878
"Create a new bytearray object from *string* and its length, *len*. On "
79-
"failure, *NULL* is returned."
79+
"failure, ``NULL`` is returned."
8080
msgstr ""
81-
"Cria um novo objeto bytearray a partir da *string* e de seu comprimento, "
82-
"*len*. Em caso de falha, retorna *NULL*."
8381

8482
#: ../../c-api/bytearray.rst:56
8583
msgid ""
@@ -89,17 +87,14 @@ msgstr ""
8987
"resultado."
9088

9189
#: ../../c-api/bytearray.rst:61
92-
msgid "Return the size of *bytearray* after checking for a *NULL* pointer."
93-
msgstr "Retorna o tamanho de *byterray* após checar por um ponteiro *NULL*."
90+
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
91+
msgstr ""
9492

9593
#: ../../c-api/bytearray.rst:66
9694
msgid ""
9795
"Return the contents of *bytearray* as a char array after checking for a "
98-
"*NULL* pointer. The returned array always has an extra null byte appended."
96+
"``NULL`` pointer. The returned array always has an extra null byte appended."
9997
msgstr ""
100-
"Retorna o conteúdo de *bytearray* como um array de chars após checar por um "
101-
"ponteiro *NULL*. O array resultante sempre será acrescido por um byte nulo "
102-
"extra."
10398

10499
#: ../../c-api/bytearray.rst:73
105100
msgid "Resize the internal buffer of *bytearray* to *len*."

c-api/bytes.po

Lines changed: 12 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.8\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
19+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
2020
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2121
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2019\n"
2222
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
@@ -71,22 +71,16 @@ msgstr ""
7171
#: ../../c-api/bytes.rst:39
7272
msgid ""
7373
"Return a new bytes object with a copy of the string *v* as value on success, "
74-
"and *NULL* on failure. The parameter *v* must not be *NULL*; it will not be "
75-
"checked."
74+
"and ``NULL`` on failure. The parameter *v* must not be ``NULL``; it will "
75+
"not be checked."
7676
msgstr ""
77-
"Retorna um novo objeto bytes com uma cópia da string *v* como valor no "
78-
"sucesso e *NULL* no caso de falha. O parâmetro *v* não deve ser *NULL*; ou "
79-
"ele não será verificado."
8077

8178
#: ../../c-api/bytes.rst:46
8279
msgid ""
8380
"Return a new bytes object with a copy of the string *v* as value and length "
84-
"*len* on success, and *NULL* on failure. If *v* is *NULL*, the contents of "
85-
"the bytes object are uninitialized."
81+
"*len* on success, and ``NULL`` on failure. If *v* is ``NULL``, the contents "
82+
"of the bytes object are uninitialized."
8683
msgstr ""
87-
"Devolver um novo objeto de bytes com uma cópia da string *v* como valor e "
88-
"comprimento *len* no sucesso e *NULL* no caso de falha. Se *v* for *NULL*, o "
89-
"conteúdo do objeto bytes não está inicializado."
9084

9185
#: ../../c-api/bytes.rst:53
9286
msgid ""
@@ -304,15 +298,8 @@ msgid ""
304298
"bytes. The data must not be modified in any way, unless the object was just "
305299
"created using ``PyBytes_FromStringAndSize(NULL, size)``. It must not be "
306300
"deallocated. If *o* is not a bytes object at all, :c:func:"
307-
"`PyBytes_AsString` returns *NULL* and raises :exc:`TypeError`."
301+
"`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
308302
msgstr ""
309-
"Retorna um ponteiro para o conteúdo de *o*. O ponteiro refere-se ao buffer "
310-
"interno de *o*, que consiste em ``len(o) + 1`` bytes. O último byte no "
311-
"buffer é sempre nulo, independentemente de haver outros bytes nulos. Os "
312-
"dados não devem ser modificados de forma alguma, a menos que o objeto tenha "
313-
"sido criado apenas usando ``PyBytes_FromStringAndSize(NULL, size)``. Não "
314-
"deve ser desalinhado. Se *o* não for um objeto de bytes, :c:func:"
315-
"`PyBytes_AsString` retorna *NULL* e eleva: exc:` TypeError`."
316303

317304
#: ../../c-api/bytes.rst:154
318305
msgid "Macro form of :c:func:`PyBytes_AsString` but without error checking."
@@ -329,12 +316,10 @@ msgstr ""
329316

330317
#: ../../c-api/bytes.rst:162
331318
msgid ""
332-
"If *length* is *NULL*, the bytes object may not contain embedded null bytes; "
333-
"if it does, the function returns ``-1`` and a :exc:`ValueError` is raised."
319+
"If *length* is ``NULL``, the bytes object may not contain embedded null "
320+
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
321+
"raised."
334322
msgstr ""
335-
"Se *length* for *NULL*, o objeto bytes pode não conter bytes nulos "
336-
"incorporados; se o fizer, a função retorna ``-1`` e a: exc: `ValueError` é "
337-
"gerado."
338323

339324
#: ../../c-api/bytes.rst:166
340325
msgid ""
@@ -366,13 +351,8 @@ msgid ""
366351
"appended to *bytes*; the caller will own the new reference. The reference "
367352
"to the old value of *bytes* will be stolen. If the new object cannot be "
368353
"created, the old reference to *bytes* will still be discarded and the value "
369-
"of *\\*bytes* will be set to *NULL*; the appropriate exception will be set."
354+
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set."
370355
msgstr ""
371-
"Crie um novo objeto bytes em *\\*bytes* contendo o conteúdo de *newpart* "
372-
"anexado a *bytes*; o chamador terá a nova referência. A referência ao valor "
373-
"antigo de *bytes* será roubada. Se o novo objeto não puder ser criado, a "
374-
"referência antiga para *bytes* ainda será descartada e o valor de *\\*bytes* "
375-
"será definido como *NULL*; a exceção apropriada será definida."
376356

377357
#: ../../c-api/bytes.rst:189
378358
msgid ""
@@ -393,16 +373,6 @@ msgid ""
393373
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
394374
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
395375
"input value. If the reallocation fails, the original bytes object at *"
396-
"\\*bytes* is deallocated, *\\*bytes* is set to *NULL*, :exc:`MemoryError` is "
397-
"set, and ``-1`` is returned."
376+
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
377+
"is set, and ``-1`` is returned."
398378
msgstr ""
399-
"Uma maneira de redimensionar um objeto bytes mesmo que seja \"imutável\". "
400-
"Use apenas isso para criar um novo objeto de bytes; não use isso se os bytes "
401-
"já podem ser conhecidos em outras partes do código. É um erro ao chamar essa "
402-
"função se o preenchimento no objeto bytes de entrada não for um. Passe o "
403-
"endereço de um objeto de bytes existente como um lvalue (pode ser escrito "
404-
"em) e o novo tamanho desejado. Em êxito, *\\*bytes* contém o objeto de bytes "
405-
"redimensionados e ``0`` é retornado; o endereço em *\\*bytes* pode diferir "
406-
"do seu valor de entrada. Se a reatribuição falhar, o objeto bytes original "
407-
"em *\\*bytes* é desalocado, *\\*bytes* é definido como *NULL*, :exc:"
408-
"`MemoryError` está definido e ``-1`` é retornado."

0 commit comments

Comments
 (0)
X Tutup