@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"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 "
15
15
"Last-Translator : David Spindola\n "
16
16
"Language-Team : python-doc-es\n "
17
17
"Language : es\n "
@@ -96,32 +96,27 @@ msgid ""
96
96
" /* continue doing useful work */\n"
97
97
"}"
98
98
msgstr ""
99
- "`` PyObject`` `` *iterator`` = `` PyObject_GetIter(obj)`` ;\n"
100
- "`` PyObject`` `` *item`` ;\n"
99
+ "PyObject *iterator = PyObject_GetIter(obj);\n"
100
+ "PyObject *item;\n"
101
101
"\n"
102
102
"if (iterator == NULL) {\n"
103
- " ``/*`` propaga el error ``*/``\n"
104
- "\n"
103
+ " /* propagate error */\n"
105
104
"}\n"
106
105
"\n"
107
106
"while ((item = PyIter_Next(iterator))) {\n"
108
- " ``/*`` hace algo con * item* ``*/`` \n"
107
+ " /* do something with item */ \n"
109
108
" ...\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"
113
111
"}\n"
114
112
"\n"
115
- "``Py_DECREF(iterator)``;\n"
116
- "\n"
117
- "if (``PyErr_Occurred()``) {\n"
118
- " ``/*`` propaga el error ``*/``\n"
113
+ "Py_DECREF(iterator);\n"
119
114
"\n"
115
+ "if (PyErr_Occurred()) {\n"
116
+ " /* propagate error */\n"
120
117
"}\n"
121
- "\n"
122
118
"else {\n"
123
- " ``/*`` continua haciendo trabajo útil ``*/``\n"
124
- "\n"
119
+ " /* continue doing useful work */\n"
125
120
"}"
126
121
127
122
#: ../Doc/c-api/iter.rst:59
0 commit comments