11# Copyright (C) 2001-2020, Python Software Foundation
22# This file is distributed under the same license as the Python package.
3- # Maintained by the python-doc-es workteam.
3+ # Maintained by the python-doc-es workteam.
44# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66#
7- #, fuzzy
87msgid ""
98msgstr ""
109"Project-Id-Version : Python 3.8\n "
1110"Report-Msgid-Bugs-To : \n "
1211"POT-Creation-Date : 2019-05-06 11:59-0400\n "
13- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
12+ "PO-Revision-Date : 2020-05-09 16:31+0200\n "
1513"Language-Team : python-doc-es\n "
1614"MIME-Version : 1.0\n "
1715"Content-Type : text/plain; charset=UTF-8\n "
1816"Content-Transfer-Encoding : 8bit\n "
17+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
18+ "Last-Translator : \n "
19+ "Language : es\n "
20+ "X-Generator : Poedit 2.3\n "
1921
2022#: ../Doc/c-api/objbuffer.rst:4
2123msgid "Old Buffer Protocol"
22- msgstr ""
24+ msgstr "Protocolo de búfer antiguo "
2325
2426#: ../Doc/c-api/objbuffer.rst:8
2527msgid ""
@@ -30,6 +32,12 @@ msgid ""
3032"you control over the lifetime of the resources acquired when a buffer is "
3133"exported."
3234msgstr ""
35+ "Estas funciones formaban parte de la API del \" antiguo protocolo de búfer\" "
36+ "en Python 2. En Python 3, este protocolo ya no existe, pero las funciones "
37+ "aún están expuestas para facilitar la transferencia del código 2.x. Actúan "
38+ "como una envoltura de compatibilidad alrededor del :ref:`nuevo protocolo de "
39+ "búfer <bufferobjects>`, pero no le dan control sobre la vida útil de los "
40+ "recursos adquiridos cuando se exporta un búfer."
3341
3442#: ../Doc/c-api/objbuffer.rst:15
3543msgid ""
@@ -38,6 +46,11 @@ msgid ""
3846"`PyArg_ParseTuple` family of functions) to get a buffer view over an object, "
3947"and :c:func:`PyBuffer_Release` when the buffer view can be released."
4048msgstr ""
49+ "Por lo tanto, se recomienda que llame :c:func:`PyObject_GetBuffer` (o "
50+ "``y*``o ``w*`` :ref:`format codes <arg-parsing>` con la familia de "
51+ "funciones :c:func:`PyArg_ParseTuple`) para obtener una vista de búfer sobre "
52+ "un objeto, y :c:func:`PyBuffer_Release` cuando se puede liberar la vista de "
53+ "búfer."
4154
4255#: ../Doc/c-api/objbuffer.rst:23
4356msgid ""
@@ -47,6 +60,12 @@ msgid ""
4760"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
4861"`TypeError` on error."
4962msgstr ""
63+ "Retorna un puntero a una ubicación de memoria de solo lectura que se puede "
64+ "usar como entrada basada en caracteres. El argumento *obj* debe admitir la "
65+ "interfaz de búfer de caracteres de segmento único. En caso de éxito, "
66+ "devuelve ``0``, establece *buffer* en la ubicación de memoria y *buffer_len* "
67+ "en la longitud del búfer. Retorna ``-1`` y lanza :exc:`TypeError` en caso de "
68+ "error."
5069
5170#: ../Doc/c-api/objbuffer.rst:32
5271msgid ""
@@ -56,19 +75,30 @@ msgid ""
5675"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
5776"`TypeError` on error."
5877msgstr ""
78+ "Retorna un puntero a una ubicación de memoria de solo lectura que contiene "
79+ "datos arbitrarios. El argumento *obj* debe admitir la interfaz de búfer "
80+ "legible de segmento único. En caso de éxito, retorna ``0``, establece "
81+ "*buffer* en la ubicación de memoria y *buffer_len* en la longitud del búfer. "
82+ "Devuelve ``-1`` y lanza un :exc:`TypeError` en caso de error."
5983
6084#: ../Doc/c-api/objbuffer.rst:41
6185msgid ""
6286"Returns ``1`` if *o* supports the single-segment readable buffer interface. "
6387"Otherwise returns ``0``. This function always succeeds."
6488msgstr ""
89+ "Retorna ``1`` si *o* admite la interfaz de búfer legible de segmento único. "
90+ "De lo contrario, devuelve ``0``. Esta función siempre tiene éxito."
6591
6692#: ../Doc/c-api/objbuffer.rst:44
6793msgid ""
6894"Note that this function tries to get and release a buffer, and exceptions "
6995"which occur while calling corresponding functions will get suppressed. To "
7096"get error reporting use :c:func:`PyObject_GetBuffer()` instead."
7197msgstr ""
98+ "Tenga en cuenta que esta función intenta obtener y liberar un búfer, y las "
99+ "excepciones que se producen al llamar a las funciones correspondientes se "
100+ "suprimirán. Para obtener informes de errores, utilice :c:func:"
101+ "`PyObject_GetBuffer()` en su lugar."
72102
73103#: ../Doc/c-api/objbuffer.rst:51
74104msgid ""
@@ -77,3 +107,8 @@ msgid ""
77107"``0``, sets *buffer* to the memory location and *buffer_len* to the buffer "
78108"length. Returns ``-1`` and sets a :exc:`TypeError` on error."
79109msgstr ""
110+ "Retorna un puntero a una ubicación de memoria de escritura. El argumento "
111+ "*obj* debe admitir la interfaz de búfer de caracteres de segmento único. En "
112+ "caso de éxito, retorna ``0``, establece *buffer* en la ubicación de memoria "
113+ "y *buffer_len* en la longitud del búfer. Retorna ``-1`` y lanza un :exc:"
114+ "`TypeError` en caso de error."
0 commit comments