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

Traducido archivo c-api/iter#3382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rtobar merged 4 commits intopython:3.13fromdavidspindola:traduccion-iter
Apr 11, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix test sphinx-lint c-api/iter
  • Loading branch information
@davidspindola
davidspindola committedApr 10, 2025
commit8b0719f043db2d901461c1aa329eb46cb53765d4
43 changes: 24 additions & 19 deletionsc-api/iter.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
"PO-Revision-Date: 2025-04-1020:00+0200\n"
"PO-Revision-Date: 2025-04-1022:41+0200\n"
"Last-Translator: David Spindola\n"
"Language-Team: python-doc-es\n"
"Language: es\n"
Expand DownExpand Up@@ -96,28 +96,33 @@ msgid ""
" /* continue doing useful work */\n"
"}"
msgstr ""
"``PyObject *iterator = PyObject_GetIter(obj);``\n"
"``PyObject *item;``\n"
"PyObject``*iterator`` = PyObject_GetIter(obj);\n"
"PyObject``*item``;\n"
"\n"
"``if (iterator == NULL) {``\n"
"`` /\\* propaga el error \\*/``\n"
"``}``\n"
"if (iterator == NULL) {\n"
" ``/*`` propaga el error ``*/``\n"
"\n"
"}\n"
"\n"
"while ((item = PyIter_Next(iterator))) {\n"
" ``/*`` hace algo con *item* ``*/``\n"
" ...\n"
" ``/*`` libera la referencia cuando termina ``*/``\n"
" Py_DECREF(item);\n"
"\n"
"}\n"
"\n"
"Py_DECREF(iterator);\n"
"\n"
"if (PyErr_Occurred()) {\n"
" ``/*`` propaga el error ``*/``\n"
"\n"
"``while ((item = PyIter_Next(iterator))) {``\n"
"`` /\\* hace algo con *item* \\*/``\n"
"`` ...``\n"
"`` /\\* libera la referencia cuando termina \\*/``\n"
"`` Py_DECREF(item);``\n"
"``}``\n"
"}\n"
"\n"
"``Py_DECREF(iterator);``\n"
"else {\n"
" ``/*`` continua haciendo trabajo útil ``*/``\n"
"\n"
"``if (PyErr_Occurred()) {``\n"
"`` /\\* propaga el error \\*/``\n"
"``}``\n"
"``else {``\n"
"`` /\\* continua haciendo trabajo útil \\*/``\n"
"``}``"
"}"

#: ../Doc/c-api/iter.rst:59
msgid ""
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp