Skip to content

Commit e411ee2

Browse files
committed
Build and test pass in local
1 parent 6751370 commit e411ee2

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

c-api/iter.po

+11-16
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date: 2025-04-10 22:58+0200\n"
14+
"PO-Revision-Date: 2025-04-10 23:48+0200\n"
1515
"Last-Translator: David Spindola\n"
1616
"Language-Team: python-doc-es\n"
1717
"Language: es\n"
@@ -96,32 +96,27 @@ msgid ""
9696
" /* continue doing useful work */\n"
9797
"}"
9898
msgstr ""
99-
"``PyObject`` ``*iterator`` = ``PyObject_GetIter(obj)``;\n"
100-
"``PyObject`` ``*item``;\n"
99+
"PyObject *iterator = PyObject_GetIter(obj);\n"
100+
"PyObject *item;\n"
101101
"\n"
102102
"if (iterator == NULL) {\n"
103-
" ``/*`` propaga el error ``*/``\n"
104-
"\n"
103+
" /* propagate error */\n"
105104
"}\n"
106105
"\n"
107106
"while ((item = PyIter_Next(iterator))) {\n"
108-
" ``/*`` hace algo con *item* ``*/``\n"
107+
" /* do something with item */\n"
109108
" ...\n"
110-
" ``/*`` libera la referencia cuando termina ``*/``\n"
111-
" ``Py_DECREF(item)``;\n"
112-
"\n"
109+
" /* release reference when done */\n"
110+
" Py_DECREF(item);\n"
113111
"}\n"
114112
"\n"
115-
"``Py_DECREF(iterator)``;\n"
116-
"\n"
117-
"if (``PyErr_Occurred()``) {\n"
118-
" ``/*`` propaga el error ``*/``\n"
113+
"Py_DECREF(iterator);\n"
119114
"\n"
115+
"if (PyErr_Occurred()) {\n"
116+
" /* propagate error */\n"
120117
"}\n"
121-
"\n"
122118
"else {\n"
123-
" ``/*`` continua haciendo trabajo útil ``*/``\n"
124-
"\n"
119+
" /* continue doing useful work */\n"
125120
"}"
126121

127122
#: ../Doc/c-api/iter.rst:59

0 commit comments

Comments
 (0)