1
1
# Copyright (C) 2001-2020, Python Software Foundation
2
2
# 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.
4
4
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5
5
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
6
6
#
7
- #, fuzzy
8
7
msgid ""
9
8
msgstr ""
10
9
"Project-Id-Version : Python 3.8\n "
11
10
"Report-Msgid-Bugs-To : \n "
12
11
"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 "
15
13
"Language-Team : python-doc-es\n "
16
14
"MIME-Version : 1.0\n "
17
15
"Content-Type : text/plain; charset=UTF-8\n "
18
16
"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 "
19
21
20
22
#: ../Doc/c-api/objbuffer.rst:4
21
23
msgid "Old Buffer Protocol"
22
- msgstr ""
24
+ msgstr "Protocolo de búfer antiguo "
23
25
24
26
#: ../Doc/c-api/objbuffer.rst:8
25
27
msgid ""
@@ -30,6 +32,12 @@ msgid ""
30
32
"you control over the lifetime of the resources acquired when a buffer is "
31
33
"exported."
32
34
msgstr ""
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:`new buffer protocol "
39
+ "<bufferobjects>`, pero no le dan control sobre la vida útil de los recursos "
40
+ "adquiridos cuando se exporta un búfer."
33
41
34
42
#: ../Doc/c-api/objbuffer.rst:15
35
43
msgid ""
@@ -38,6 +46,11 @@ msgid ""
38
46
"`PyArg_ParseTuple` family of functions) to get a buffer view over an object, "
39
47
"and :c:func:`PyBuffer_Release` when the buffer view can be released."
40
48
msgstr ""
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."
41
54
42
55
#: ../Doc/c-api/objbuffer.rst:23
43
56
msgid ""
@@ -47,6 +60,12 @@ msgid ""
47
60
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
48
61
"`TypeError` on error."
49
62
msgstr ""
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."
50
69
51
70
#: ../Doc/c-api/objbuffer.rst:32
52
71
msgid ""
@@ -56,19 +75,30 @@ msgid ""
56
75
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
57
76
"`TypeError` on error."
58
77
msgstr ""
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."
59
83
60
84
#: ../Doc/c-api/objbuffer.rst:41
61
85
msgid ""
62
86
"Returns ``1`` if *o* supports the single-segment readable buffer interface. "
63
87
"Otherwise returns ``0``. This function always succeeds."
64
88
msgstr ""
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."
65
91
66
92
#: ../Doc/c-api/objbuffer.rst:44
67
93
msgid ""
68
94
"Note that this function tries to get and release a buffer, and exceptions "
69
95
"which occur while calling corresponding functions will get suppressed. To "
70
96
"get error reporting use :c:func:`PyObject_GetBuffer()` instead."
71
97
msgstr ""
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."
72
102
73
103
#: ../Doc/c-api/objbuffer.rst:51
74
104
msgid ""
@@ -77,3 +107,8 @@ msgid ""
77
107
"``0``, sets *buffer* to the memory location and *buffer_len* to the buffer "
78
108
"length. Returns ``-1`` and sets a :exc:`TypeError` on error."
79
109
msgstr ""
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 buffer. Retorna ``-1`` y lanza un :exc:"
114
+ "`TypeError` en caso de error."
0 commit comments