Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9efa49d

Browse files
authored
Merge pull request#225 from cmaureir/traduccion-list
Traducido c-api/list
2 parents73815bf +b2022bf commit9efa49d

File tree

1 file changed

+63
-8
lines changed

1 file changed

+63
-8
lines changed

‎c-api/list.po

Lines changed: 63 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,49 +6,60 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#,fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version:Python 3.8\n"
1312
"Report-Msgid-Bugs-To:\n"
1413
"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"
1715
"Language-Team:python-doc-es\n"
1816
"MIME-Version:1.0\n"
19-
"Content-Type:text/plain; charset=utf-8\n"
17+
"Content-Type:text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding:8bit\n"
2119
"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"
2224

2325
#:../Doc/c-api/list.rst:6
2426
msgid"List Objects"
25-
msgstr""
27+
msgstr"Objetos lista"
2628

2729
#:../Doc/c-api/list.rst:13
2830
msgid"This subtype of :c:type:`PyObject` represents a Python list object."
2931
msgstr""
32+
"Este subtipo de :c:type:`PyObject` representa un objeto lista de Python."
3033

3134
#:../Doc/c-api/list.rst:18
3235
msgid""
3336
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
3437
"This is the same object as :class:`list` in the Python layer."
3538
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."
3641

3742
#:../Doc/c-api/list.rst:24
3843
msgid""
3944
"Return true if *p* is a list object or an instance of a subtype of the list "
4045
"type."
4146
msgstr""
47+
"Retorna verdadero si *p* es un objeto de lista o una instancia de un subtipo "
48+
"del tipo lista."
4249

4350
#:../Doc/c-api/list.rst:30
4451
msgid""
4552
"Return true if *p* is a list object, but not an instance of a subtype of the "
4653
"list type."
4754
msgstr""
55+
"Retorna verdadero si *p* es un objeto lista, pero no una instancia de un "
56+
"subtipo del tipo lista."
4857

4958
#:../Doc/c-api/list.rst:36
5059
msgid"Return a new list of length *len* on success, or ``NULL`` on failure."
5160
msgstr""
61+
"Retorna una nueva lista de longitud *len* en caso de éxito o ``NULL`` en "
62+
"caso de error."
5263

5364
#:../Doc/c-api/list.rst:40
5465
msgid""
@@ -57,16 +68,23 @@ msgid ""
5768
"`PySequence_SetItem` or expose the object to Python code before setting all "
5869
"items to a real object with :c:func:`PyList_SetItem`."
5970
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`."
6076

6177
#:../Doc/c-api/list.rst:50
6278
msgid""
6379
"Return the length of the list object in *list*; this is equivalent to "
6480
"``len(list)`` on a list object."
6581
msgstr""
82+
"Retorna la longitud del objeto lista en *list*; esto es equivalente a "
83+
"``len(list)`` en un objeto lista."
6684

6785
#:../Doc/c-api/list.rst:56
6886
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."
7088

7189
#:../Doc/c-api/list.rst:61
7290
msgid""
@@ -75,50 +93,71 @@ msgid ""
7593
"supported. If *index* is out of bounds (<0 or >=len(list)), return ``NULL`` "
7694
"and set an :exc:`IndexError` exception."
7795
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`."
78100

79101
#:../Doc/c-api/list.rst:69
80102
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."
82104

83105
#:../Doc/c-api/list.rst:74
84106
msgid""
85107
"Set the item at index *index* in list to *item*. Return ``0`` on success. "
86108
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
87109
"exception."
88110
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`."
89114

90115
#:../Doc/c-api/list.rst:80
91116
msgid""
92117
"This function\"steals\" a reference to *item* and discards a reference to "
93118
"an item already in the list at the affected position."
94119
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."
95122

96123
#:../Doc/c-api/list.rst:86
97124
msgid""
98125
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
99126
"normally only used to fill in new lists where there is no previous content."
100127
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."
101131

102132
#:../Doc/c-api/list.rst:91
103133
msgid""
104134
"This macro\"steals\" a reference to *item*, and, unlike :c:func:"
105135
"`PyList_SetItem`, does *not* discard a reference to any item that is being "
106136
"replaced; any reference in *list* at position *i* will be leaked."
107137
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á."
108141

109142
#:../Doc/c-api/list.rst:99
110143
msgid""
111144
"Insert the item *item* into list *list* in front of index *index*. Return "
112145
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
113146
"Analogous to ``list.insert(index, item)``."
114147
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)``."
115151

116152
#:../Doc/c-api/list.rst:106
117153
msgid""
118154
"Append the object *item* at the end of list *list*. Return ``0`` if "
119155
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
120156
"to ``list.append(item)``."
121157
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)``."
122161

123162
#:../Doc/c-api/list.rst:113
124163
msgid""
@@ -127,6 +166,10 @@ msgid ""
127166
"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
128167
"supported."
129168
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."
130173

131174
#:../Doc/c-api/list.rst:120
132175
msgid""
@@ -136,25 +179,37 @@ msgid ""
136179
"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
137180
"list is not supported."
138181
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."
139187

140188
#:../Doc/c-api/list.rst:129
141189
msgid""
142190
"Sort the items of *list* in place. Return ``0`` on success, ``-1`` on "
143191
"failure. This is equivalent to ``list.sort()``."
144192
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()``."
145195

146196
#:../Doc/c-api/list.rst:135
147197
msgid""
148198
"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
149199
"failure. This is the equivalent of ``list.reverse()``."
150200
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()``."
151204

152205
#:../Doc/c-api/list.rst:143
153206
msgid""
154207
"Return a new tuple object containing the contents of *list*; equivalent to "
155208
"``tuple(list)``."
156209
msgstr""
210+
"Retorna un nuevo objeto tupla que contiene el contenido de *list*; "
211+
"equivalente a ``tuple(list)``."
157212

158213
#:../Doc/c-api/list.rst:149
159214
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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp