8000 Traducido archivo c-api/bytes · python/python-docs-es@4387192 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4387192

Browse files
committed
Traducido archivo c-api/bytes
1 parent 97d2345 commit 4387192

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

c-api/bytes.po

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2021-08-01 20:18+0200\n"
14+
"PO-Revision-Date: 2022-11-01 11:48+0100\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
16-
"Language: es\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 3.2\n"
2324

2425
#: ../Doc/c-api/bytes.rst:6
2526
msgid "Bytes Objects"
2627
msgstr "Objetos Bytes"
2728

2829
#: ../Doc/c-api/bytes.rst:8
29-
#, fuzzy
3030
msgid ""
3131
"These functions raise :exc:`TypeError` when expecting a bytes parameter and "
3232
"called with a non-bytes parameter."
@@ -197,7 +197,7 @@ msgstr ":attr:`%zd`"
197197

198198
#: ../Doc/c-api/bytes.rst:87
199199
msgid ":c:type:`\\ Py_ssize_t`"
200-
msgstr ""
200+
msgstr ":c:type:`\\ Py_ssize_t`"
201201

202202
#: ../Doc/c-api/bytes.rst:87
203203
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"
@@ -258,9 +258,9 @@ msgstr "const void\\*"
258258

259259
#: ../Doc/c-api/bytes.rst:102
260260
msgid ""
261-
"The hex representation of a C pointer. Mostly equivalent to "
262-
"``printf(\"%p\")`` except that it is guaranteed to start with the literal "
263-
"``0x`` regardless of what the platform's ``printf`` yields."
261+
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p"
262+
"\")`` except that it is guaranteed to start with the literal ``0x`` "
263+
"regardless of what the platform's ``printf`` yields."
264264
msgstr ""
265265
"La representación hexadecimal de un puntero en C. Principalmente equivalente "
266266
"a ``printf(\"%p\")`` excepto que se garantiza que comience con el literal "
304304
msgstr "Retorna la longitud de los bytes en el objeto bytes *o*."
305305

306306
#: ../Doc/c-api/bytes.rst:137
307-
#, fuzzy
308307
msgid "Similar to :c:func:`PyBytes_Size`, but without error checking."
309308
msgstr ""
310309
"Forma macro de :c:func:`PyBytes_Size` pero sin verificación de errores."
@@ -320,15 +319,14 @@ msgid ""
320319
"`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
321320
msgstr ""
322321
"Retorna un puntero al contenido de *o*. El puntero se refiere al búfer "
323-
"interno de *o*, que consiste en bytes ``len(o) + 1``. El último byte en el "
322+
"interno de *o*, que consiste en ``len(o) + 1`` bytes. El último byte en el "
324323
"búfer siempre es nulo, independientemente de si hay otros bytes nulos. Los "
325324
"datos no deben modificarse de ninguna manera, a menos que el objeto se haya "
326325
"creado usando ``PyBytes_FromStringAndSize(NULL, size)``. No debe ser "
327326
"desasignado. Si *o* no es un objeto de bytes en absoluto, :c:func:"
328327
"`PyBytes_AsString` retorna ``NULL`` y lanza un :exc:`TypeError`."
329328

330329
#: ../Doc/c-api/bytes.rst:154
331-
#, fuzzy
332330
msgid "Similar to :c:func:`PyBytes_AsString`, but without error checking."
333331
msgstr ""
334332
"Forma macro de :c:func:`PyBytes_AsString` pero sin verificación de errores."
@@ -348,7 +346,7 @@ msgid ""
348346
"raised."
349347
msgstr ""
350348
"Si *length* es ``NULL``, el objeto bytes no puede contener bytes nulos "
351-
"incrustados; si lo hace, la función retorna ``-1`` y se lanza un :exc:"
349+
"incrustados; en caso contrario, la función retorna ``-1`` y se lanza un :exc:"
352350
"`ValueError`."
353351

354352
#: ../Doc/c-api/bytes.rst:166
@@ -361,8 +359,8 @@ msgid ""
361359
"returns ``-1`` and raises :exc:`TypeError`."
362360
msgstr ""
363361
"El búfer se refiere a un búfer interno de *obj*, que incluye un byte nulo "
364-
"adicional al final (sin contar en *length*). Los datos no deben modificarse "
365-
"de ninguna manera, a menos que el objeto se haya creado usando "
362+
"adicional al final (no está considerado en *length*). Los datos no deben "
363+
"modificarse de ninguna manera, a menos que el objeto se haya creado usando "
366364
"``PyBytes_FromStringAndSize(NULL, size)``. No debe ser desasignado. Si *obj* "
367365
"no es un objeto bytes en absoluto, :c:func:`PyBytes_AsStringAndSize` retorna "
368366
"``-1`` y lanza :exc:`TypeError`."
@@ -387,7 +385,7 @@ msgstr ""
387385
"*newpart* agregado a *bytes*; la persona que llama poseerá la nueva "
388386
"referencia. La referencia al valor anterior de *bytes* será robada. Si no se "
389387
"puede crear el nuevo objeto, la referencia anterior a *bytes* se seguirá "
390-
"descartando y el valor de *\\*bytes* se establecerá en ``NULL``; Se "
388+
"descartando y el valor de *\\*bytes* se establecerá en ``NULL``; se "
391389
"establecerá la excepción apropiada."
392390

393391
#: ../Doc/c-api/bytes.rst:189
@@ -409,8 +407,8 @@ msgid ""
409407
"address of an existing bytes object as an lvalue (it may be written into), "
410408
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
411409
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
412-
"input value. If the reallocation fails, the original bytes object at "
413-
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
410+
"input value. If the reallocation fails, the original bytes object at *"
411+
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
414412
"is set, and ``-1`` is returned."
415413
msgstr ""
416414
"Una forma de cambiar el tamaño de un objeto bytes aunque sea \"inmutable\". "
@@ -419,10 +417,10 @@ msgstr ""
419417
"esta función si el recuento en el objeto bytes de entrada no es uno. Pasa la "
420418
"dirección de un objeto de bytes existente como un *lvalue* (puede escribirse "
421419
"en él) y el nuevo tamaño deseado. En caso de éxito, *\\*bytes* retiene el "
422-
"objeto de bytes redimensionados y se retorna ``0``; la dirección en "
423-
"*\\*bytes* puede diferir de su valor de entrada. Si la reasignación falla, "
424-
"el objeto de bytes original en *\\*bytes* se desasigna, *\\*bytes* se "
425-
"establece en ``NULL``, :exc:`MemoryError` se establece y se retorna ``-1`` ."
420+
"objeto de bytes redimensionados y se retorna ``0``; la dirección en *"
421+
"\\*bytes* puede diferir de su valor de entrada. Si la reasignación falla, el "
422+
"objeto de bytes original en *\\*bytes* se desasigna, *\\*bytes* se establece "
423+
"en ``NULL``, :exc:`MemoryError` se establece y se retorna ``-1`` ."
426424

427425
#~ msgid "Py_ssize_t"
428426
#~ msgstr "Py_ssize_t"

0 commit comments

Comments
 (0)
0