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 23:47+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/list.rst:6
24
26
msgid "List Objects"
25
- msgstr ""
27
+ msgstr "Objetos lista "
26
28
27
29
#: ../Doc/c-api/list.rst:13
28
30
msgid "This subtype of :c:type:`PyObject` represents a Python list object."
29
31
msgstr ""
32
+ "Este subtipo de :c:type:`PyObject` representa un objeto lista de Python."
30
33
31
34
#: ../Doc/c-api/list.rst:18
32
35
msgid ""
33
36
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
34
37
"This is the same object as :class:`list` in the Python layer."
35
38
msgstr ""
39
+ "Esta instancia de :c:type:`PyTypeObject` representa el tipo de lista de "
40
+ "Python. Este es el mismo objeto que :class:`list` en la capa de Python."
36
41
37
42
#: ../Doc/c-api/list.rst:24
38
43
msgid ""
39
44
"Return true if *p* is a list object or an instance of a subtype of the list "
40
45
"type."
41
46
msgstr ""
47
+ "Retorna verdadero si *p* es un objeto de lista o una instancia de un subtipo "
48
+ "del tipo lista."
42
49
43
50
#: ../Doc/c-api/list.rst:30
44
51
msgid ""
45
52
"Return true if *p* is a list object, but not an instance of a subtype of the "
46
53
"list type."
47
54
msgstr ""
55
+ "Retorna verdadero si *p* es un objeto lista, pero no una instancia de un "
56
+ "subtipo del tipo lista."
48
57
49
58
#: ../Doc/c-api/list.rst:36
50
59
msgid "Return a new list of length *len* on success, or ``NULL`` on failure."
51
60
msgstr ""
61
+ "Retorna una nueva lista de longitud *len* en caso de éxito o ``NULL`` en "
62
+ "caso de error."
52
63
53
64
#: ../Doc/c-api/list.rst:40
54
65
msgid ""
@@ -57,16 +68,23 @@ msgid ""
57
68
"`PySequence_SetItem` or expose the object to Python code before setting all "
58
69
"items to a real object with :c:func:`PyList_SetItem`."
59
70
msgstr ""
71
+ "Si *len* es mayor que cero, los elementos del objeto de la lista retornada "
72
+ "se establecen en ``NULL``. Por lo tanto, no puede utilizar funciones API "
73
+ "abstractas como :c:func:`PySequence_SetItem` o exponer el objeto al código "
74
+ "Python antes de configurar todos los elementos en un objeto real con :c:func:"
75
+ "`PyList_SetItem`."
60
76
61
77
#: ../Doc/c-api/list.rst:50
62
78
msgid ""
63
79
"Return the length of the list object in *list*; this is equivalent to "
64
80
"``len(list)`` on a list object."
65
81
msgstr ""
82
+ "Retorna la longitud del objeto lista en *list*; esto es equivalente a "
83
+ "``len(list)`` en un objeto lista."
66
84
67
85
#: ../Doc/c-api/list.rst:56
68
86
msgid "Macro form of :c:func:`PyList_Size` without error checking."
69
- msgstr ""
87
+ msgstr "Forma macro de :c:func:`PyList_Size` sin comprobación de errores. "
70
88
71
89
#: ../Doc/c-api/list.rst:61
72
90
msgid ""
@@ -75,50 +93,71 @@ msgid ""
75
93
"supported. If *index* is out of bounds (<0 or >=len(list)), return ``NULL`` "
76
94
"and set an :exc:`IndexError` exception."
77
95
msgstr ""
96
+ "Retorna el objeto en la posición *index* en la lista a la que apunta *list*. "
97
+ "La posición no debe ser negativa; La indexación desde el final de la lista "
98
+ "no es compatible. Si *index* está fuera de los límites (*<0 o >= "
99
+ "len(list)*), retorna ``NULL`` y establece una excepción :exc:`IndexError`."
78
100
79
101
#: ../Doc/c-api/list.rst:69
80
102
msgid "Macro form of :c:func:`PyList_GetItem` without error checking."
81
- msgstr ""
103
+ msgstr "Forma macro de :c:func:`PyList_GetItem` sin comprobación de errores. "
82
104
83
105
#: ../Doc/c-api/list.rst:74
84
106
msgid ""
85
107
"Set the item at index *index* in list to *item*. Return ``0`` on success. "
86
108
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
87
109
"exception."
88
110
msgstr ""
111
+ "Establece el elemento en el índice *index* en la lista a *item*. Retorna "
112
+ "``0`` en caso de éxito. Si *index* está fuera de límites, retorna ``-1`` y "
113
+ "establece una excepción :exc:`IndexError`."
89
114
90
115
#: ../Doc/c-api/list.rst:80
91
116
msgid ""
92
117
"This function \" steals\" a reference to *item* and discards a reference to "
93
118
"an item already in the list at the affected position."
94
119
msgstr ""
120
+ "Esta función \" roba\" una referencia a *item* y descarta una referencia a un "
121
+ "elemento que ya está en la lista en la posición afectada."
95
122
96
123
#: ../Doc/c-api/list.rst:86
97
124
msgid ""
98
125
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
99
126
"normally only used to fill in new lists where there is no previous content."
100
127
msgstr ""
128
+ "Forma macro de :c:func:`PyList_SetItem` sin comprobación de errores. Esto "
129
+ "normalmente solo se usa para completar nuevas listas donde no hay contenido "
130
+ "anterior."
101
131
102
132
#: ../Doc/c-api/list.rst:91
103
133
msgid ""
104
134
"This macro \" steals\" a reference to *item*, and, unlike :c:func:"
105
135
"`PyList_SetItem`, does *not* discard a reference to any item that is being "
106
136
"replaced; any reference in *list* at position *i* will be leaked."
107
137
msgstr ""
138
+ "Este macro \" roba\" una referencia a *item* y, a diferencia de :c:func:"
139
+ "`PyList_SetItem`, *no descarta* una referencia a ningún elemento que se está "
140
+ "reemplazando; cualquier referencia en *list* en la posición *i* se filtrará."
108
141
109
142
#: ../Doc/c-api/list.rst:99
110
143
msgid ""
111
144
"Insert the item *item* into list *list* in front of index *index*. Return "
112
145
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
113
146
"Analogous to ``list.insert(index, item)``."
114
147
msgstr ""
148
+ "Inserta el elemento *item* en la lista *list* delante del índice *index*. "
149
+ "Retorna ``0`` si tiene éxito; retorna ``-1`` y establece una excepción si no "
150
+ "tiene éxito. Análogo a ``list.insert(index, item)``."
115
151
116
152
#: ../Doc/c-api/list.rst:106
117
153
msgid ""
118
154
"Append the object *item* at the end of list *list*. Return ``0`` if "
119
155
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
120
156
"to ``list.append(item)``."
121
157
msgstr ""
158
+ "Agrega el objeto *item* al final de la lista *list*. Retorna ``0`` si tiene "
159
+ "éxito; retorna ``-1`` y establece una excepción si no tiene éxito. Análogo a "
160
+ "``list.append(item)``."
122
161
123
162
#: ../Doc/c-api/list.rst:113
124
163
msgid ""
@@ -127,6 +166,10 @@ msgid ""
127
166
"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
128
167
"supported."
129
168
msgstr ""
169
+ "Retorna una lista de los objetos en *list* que contiene los objetos "
170
+ "*between*, *low* y *high*. Retorna ``NULL`` y establece una excepción si no "
171
+ "tiene éxito. Análogo a ``list[low:high]``. La indexación desde el final de "
172
+ "la lista no es compatible."
130
173
131
174
#: ../Doc/c-api/list.rst:120
132
175
msgid ""
@@ -136,25 +179,37 @@ msgid ""
136
179
"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
137
180
"list is not supported."
138
181
msgstr ""
182
+ "Establece el segmento de *list* entre *low* y *high* para el contenido de "
183
+ "*itemlist*. Análogo a ``list[low:high] = itemlist``. La lista *itemlist* "
184
+ "puede ser ``NULL``, lo que indica la asignación de una lista vacía "
185
+ "(eliminación de segmentos). Retorna ``0`` en caso de éxito, ``-1`` en caso "
186
+ "de error. La indexación desde el final de la lista no es compatible."
139
187
140
188
#: ../Doc/c-api/list.rst:129
141
189
msgid ""
142
190
"Sort the items of *list* in place. Return ``0`` on success, ``-1`` on "
143
191
"failure. This is equivalent to ``list.sort()``."
144
192
msgstr ""
193
+ "Ordena los elementos de *list* en su lugar. Retorna ``0`` en caso de éxito, "
194
+ "``-1`` en caso de error. Esto es equivalente a ``list.sort()``."
145
195
146
196
#: ../Doc/c-api/list.rst:135
147
197
msgid ""
148
198
"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
149
199
"failure. This is the equivalent of ``list.reverse()``."
150
200
msgstr ""
201
+ "Invierte los elementos de la lista *list* en su lugar. Retorna ``0`` en caso "
202
+ "de éxito, ``-1`` en caso de error. Este es el equivalente de ``list."
203
+ "reverse()``."
151
204
152
205
#: ../Doc/c-api/list.rst:143
153
206
msgid ""
154
207
"Return a new tuple object containing the contents of *list*; equivalent to "
155
208
"``tuple(list)``."
156
209
msgstr ""
210
+ "Retorna un nuevo objeto tupla que contiene el contenido de *list*; "
211
+ "equivalente a ``tuple(list)``."
157
212
158
213
#: ../Doc/c-api/list.rst:149
159
214
msgid "Clear the free list. Return the total number of freed items."
160
- msgstr ""
215
+ msgstr "Limpia la lista libre. Retorna el número total de elementos liberados. "
0 commit comments