6
6
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
7
7
# get the list of volunteers
8
8
#
9
- #, fuzzy
10
9
msgid ""
11
10
msgstr ""
12
11
"Project-Id-Version : Python 3.8\n "
13
12
"Report-Msgid-Bugs-To : \n "
14
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
+ "PO-Revision-Date : 2020-05-10 15:52+0200\n "
17
15
"Language-Team : python-doc-es\n "
18
16
"MIME-Version : 1.0\n "
19
- "Content-Type : text/plain; charset=utf -8\n "
17
+ "Content-Type : text/plain; charset=UTF -8\n "
20
18
"Content-Transfer-Encoding : 8bit\n "
21
19
"Generated-By : Babel 2.8.0\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
+ "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.3\n "
22
24
23
25
#: ../Doc/c-api/marshal.rst:6
24
26
msgid "Data marshalling support"
25
- msgstr ""
27
+ msgstr "Soporte de empaquetado (*marshalling*) de datos "
26
28
27
29
#: ../Doc/c-api/marshal.rst:8
28
30
msgid ""
@@ -32,10 +34,16 @@ msgid ""
32
34
"read the data back. Files used to store marshalled data must be opened in "
33
35
"binary mode."
34
36
msgstr ""
37
+ "Estas rutinas permiten que el código C funcione con objetos serializados "
38
+ "utilizando el mismo formato de datos que el módulo :mod:`marshal`. Hay "
39
+ "funciones para escribir datos en el formato de serialización y funciones "
40
+ "adicionales que se pueden usar para volver a leer los datos. Los archivos "
41
+ "utilizados para almacenar datos ordenados deben abrirse en modo binario."
35
42
36
43
#: ../Doc/c-api/marshal.rst:14
37
44
msgid "Numeric values are stored with the least significant byte first."
38
45
msgstr ""
46
+ "Los valores numéricos se almacenan con el byte menos significativo primero."
39
47
40
48
#: ../Doc/c-api/marshal.rst:16
41
49
msgid ""
@@ -44,62 +52,89 @@ msgid ""
44
52
"unmarshalling. Version 2 uses a binary format for floating point numbers. "
45
53
"``Py_MARSHAL_VERSION`` indicates the current file format (currently 2)."
46
54
msgstr ""
55
+ "El módulo admite dos versiones del formato de datos: la versión 0 es la "
56
+ "versión histórica, la versión 1 comparte cadenas de caracteres internas en "
57
+ "el archivo y al desempaquetar (*unmarshalling*). La versión 2 usa un formato "
58
+ "binario para números de punto flotante. ``Py_MARSHAL_VERSION`` indica el "
59
+ "formato de archivo actual (actualmente 2)."
47
60
48
61
#: ../Doc/c-api/marshal.rst:24
49
62
msgid ""
50
63
"Marshal a :c:type:`long` integer, *value*, to *file*. This will only write "
51
64
"the least-significant 32 bits of *value*; regardless of the size of the "
52
65
"native :c:type:`long` type. *version* indicates the file format."
53
66
msgstr ""
67
+ "Empaqueta (*marshal*) un entero :c:type:`long`, *value*, a un archivo "
68
+ "*file*. Esto solo escribirá los 32 bits menos significativos de *value*; "
69
+ "independientemente del tamaño del tipo nativo :c:type:`long`. *version* "
70
+ "indica el formato del archivo."
54
71
55
72
#: ../Doc/c-api/marshal.rst:31
56
73
msgid ""
57
74
"Marshal a Python object, *value*, to *file*. *version* indicates the file "
58
75
"format."
59
76
msgstr ""
77
+ "Empaqueta (*marshal*) un objeto Python, *value*, a un archivo *file*. "
78
+ "*version* indica el formato del archivo."
60
79
61
80
#: ../Doc/c-api/marshal.rst:37
62
81
msgid ""
63
82
"Return a bytes object containing the marshalled representation of *value*. "
64
83
"*version* indicates the file format."
65
84
msgstr ""
85
+ "Retorna un objeto de bytes que contiene la representación empaquetada "
86
+ "(*marshalled*) de *value*. *version* indica el formato del archivo."
66
87
67
88
#: ../Doc/c-api/marshal.rst:41
68
89
msgid "The following functions allow marshalled values to be read back in."
69
90
msgstr ""
91
+ "Las siguientes funciones permiten volver a leer los valores empaquetados "
92
+ "(*marshalled*)."
70
93
71
94
#: ../Doc/c-api/marshal.rst:46
72
95
msgid ""
73
96
"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\ *` opened "
74
97
"for reading. Only a 32-bit value can be read in using this function, "
75
98
"regardless of the native size of :c:type:`long`."
76
99
msgstr ""
100
+ "Retorna un C :c:type:`long` del flujo de datos en un :c:type:`FILE\\ *` "
101
+ "abierto para lectura. Solo se puede leer un valor de 32 bits con esta "
102
+ "función, independientemente del tamaño nativo de :c:type:`long`."
77
103
78
104
#: ../Doc/c-api/marshal.rst:50 ../Doc/c-api/marshal.rst:60
79
105
msgid ""
80
106
"On error, sets the appropriate exception (:exc:`EOFError`) and returns "
81
107
"``-1``."
82
108
msgstr ""
109
+ "En caso de error, establece la excepción apropiada (:exc:`EOFError`) y "
110
+ "retorna ``-1``."
83
111
84
112
#: ../Doc/c-api/marshal.rst:56
85
113
msgid ""
86
114
"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\ *` "
87
115
"opened for reading. Only a 16-bit value can be read in using this function, "
88
116
"regardless of the native size of :c:type:`short`."
89
117
msgstr ""
118
+ "Retorna un C :c:type:`short` desde el flujo de datos en un :c:type:`FILE\\ *` "
119
+ "abierto para lectura. Solo se puede leer un valor de 16 bits con esta "
120
+ "función, independientemente del tamaño nativo de :c:type:`short`."
90
121
91
122
#: ../Doc/c-api/marshal.rst:66
92
123
msgid ""
93
124
"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
94
125
"for reading."
95
126
msgstr ""
127
+ "Retorna un objeto Python del flujo de datos en un :c:type:`FILE\\ *` abierto "
128
+ "para lectura."
96
129
97
130
#: ../Doc/c-api/marshal.rst:69 ../Doc/c-api/marshal.rst:83
98
131
#: ../Doc/c-api/marshal.rst:92
99
132
msgid ""
100
133
"On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
101
134
"or :exc:`TypeError`) and returns ``NULL``."
102
135
msgstr ""
136
+ "En caso de error, establece la excepción apropiada (:exc:`EOFError`, :exc:"
137
+ "`ValueError` o :exc:`TypeError`) y retorna ``NULL``."
103
138
104
139
#: ../Doc/c-api/marshal.rst:75
105
140
msgid ""
@@ -111,9 +146,18 @@ msgid ""
111
146
"file. Only use these variant if you are certain that you won't be reading "
112
147
"anything else from the file."
113
148
msgstr ""
149
+ "Retorna un objeto Python del flujo de datos en un :c:type:`FILE\\ *` abierto "
150
+ "para lectura. A diferencia de :c:func:`PyMarshal_ReadObjectFromFile`, esta "
151
+ "función asume que no se leerán más objetos del archivo, lo que le permite "
152
+ "cargar agresivamente los datos del archivo en la memoria para que la "
153
+ "deserialización pueda operar desde los datos en la memoria en lugar de leer "
154
+ "un byte a la vez desde el archivo. Solo use esta variante si está seguro de "
155
+ "que no leerá nada más del archivo."
114
156
115
157
#: ../Doc/c-api/marshal.rst:89
116
158
msgid ""
117
159
"Return a Python object from the data stream in a byte buffer containing "
118
160
"*len* bytes pointed to by *data*."
119
161
msgstr ""
162
+ "Retorna un objeto Python del flujo de datos en un búfer de bytes que "
163
+ "contiene *len* bytes a los que apunta *data*."
0 commit comments