Skip to content

Traducido archivo c-api/bytes #2149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions c-api/bytes.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-08-01 20:18+0200\n"
"PO-Revision-Date: 2022-11-01 11:48+0100\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2\n"

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

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

#: ../Doc/c-api/bytes.rst:87
msgid ":c:type:`\\ Py_ssize_t`"
msgstr ""
msgstr ":c:type:`\\ Py_ssize_t`"

#: ../Doc/c-api/bytes.rst:87
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"
Expand Down Expand Up @@ -304,7 +304,6 @@ msgid "Return the length of the bytes in bytes object *o*."
msgstr "Retorna la longitud de los bytes en el objeto bytes *o*."

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

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

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

#: ../Doc/c-api/bytes.rst:189
Expand Down