Visitar URL original
Bump whatsnew/3.10 to 3.14 by cmaureir · Pull Request #3851 · python/python-docs-es · GitHub
Skip to content
Merged
Changes from 1 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
Prev Previous commit
Next Next commit
Fix wrongly translated keywords
  • Loading branch information
cmaureir committed Mar 1, 2026
commit 07ae635c7c11964eab99413938d1ff634f9952e9
82 changes: 40 additions & 42 deletions whatsnew/3.10.po
Original file line number Diff line number Diff line change
Expand Up @@ -181,26 +181,26 @@ msgid ""
"):\n"
" ..."
msgstr ""
"con (CtxManager() como ejemplo):\n"
"with (CtxManager() as ejemplo):\n"
" ...\n"
"\n"
"con (\n"
"with (\n"
" CtxManager1(),\n"
" CtxManager2()\n"
"):\n"
" ...\n"
"\n"
"con (CtxManager1() como ejemplo,\n"
"with (CtxManager1() as ejemplo,\n"
" CtxManager2()):\n"
" ...\n"
"\n"
"con (CtxManager1(),\n"
" CtxManager2() como ejemplo):\n"
"with (CtxManager1(),\n"
" CtxManager2() as ejemplo):\n"
" ...\n"
"\n"
"con (\n"
" CtxManager1() como ejemplo1,\n"
" CtxManager2() como ejemplo2\n"
"with (\n"
" CtxManager1() as ejemplo1,\n"
" CtxManager2() as ejemplo2\n"
"):\n"
" ..."

Expand All @@ -218,10 +218,10 @@ msgid ""
"):\n"
" ..."
msgstr ""
"con (\n"
" CtxManager1() como ejemplo1,\n"
" CtxManager2() como ejemplo2,\n"
" CtxManager3() como ejemplo3,\n"
"with (\n"
" CtxManager1() as ejemplo1,\n"
" CtxManager2() as ejemplo2,\n"
" CtxManager3() as ejemplo3,\n"
"):\n"
" ..."

Expand Down Expand Up @@ -269,9 +269,9 @@ msgid ""
" 38: 4, 39: 4, 45: 5, 46: 5, 47: 5, 48: 5, 49: 5, 54: 6,\n"
"some_other_code = foo()"
msgstr ""
"esperado = {9:1, 18:2, 19:2, 27:3, 28:3, 29:3, 36:4, 37:4,\n"
" 38:4, 39:4, 45:5, 46:5, 47:5, 48:5, 49:5, 54:6,\n"
"algún_otro_código = foo()"
"expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,\n"
" 38: 4, 39: 4, 45: 5, 46: 5, 47: 5, 48: 5, 49: 5, 54: 6,\n"
"some_other_code = foo()"

#: ../Doc/whatsnew/3.10.rst:166
msgid ""
Expand All @@ -288,10 +288,10 @@ msgid ""
" ^\n"
"SyntaxError: invalid syntax"
msgstr ""
"Archivo \"ejemplo.py\", línea 3\n"
" algún_otro_código = foo()\n"
"File \"example.py\", line 3\n"
" some_other_code = foo()\n"
" ^\n"
"SyntaxError: sintaxis no válida"
"SyntaxError: invalid syntax"

#: ../Doc/whatsnew/3.10.rst:176
msgid "but in Python 3.10 a more informative error is emitted:"
Expand All @@ -304,10 +304,10 @@ msgid ""
" ^\n"
"SyntaxError: '{' was never closed"
msgstr ""
"Archivo \"ejemplo.py\", línea 1\n"
" esperado = {9:1, 18:2, 19:2, 27:3, 28:3, 29:3, 36:4, 37:4,\n"
"File \"example.py\", line 1\n"
" expected = {9: 1, 18: 2, 19: 2, 27: 3, 28: 3, 29: 3, 36: 4, 37: 4,\n"
" ^\n"
"SyntaxError: '{' nunca se cerró"
"SyntaxError: '{' was never closed"

#: ../Doc/whatsnew/3.10.rst:186
msgid ""
Expand Down Expand Up @@ -354,11 +354,11 @@ msgid ""
" ^\n"
"SyntaxError: Generator expression must be parenthesized"
msgstr ""
">>> foo(x, z para z en el rango(10), t, w)\n"
" Archivo \"<stdin>\", línea 1\n"
" foo(x, z para z en el rango(10), t, w)\n"
">>> foo(x, z for z in range(10), t, w)\n"
" File \"<stdin>\", line 1\n"
" foo(x, z for z in range(10), t, w)\n"
" ^\n"
"SyntaxError: la expresión del generador debe estar entre paréntesis"
"SyntaxError: Generator expression must be parenthesized"

#: ../Doc/whatsnew/3.10.rst:207
msgid "now Python 3.10 will display the exception as:"
Expand All @@ -372,11 +372,11 @@ msgid ""
" ^^^^^^^^^^^^^^^^^^^^\n"
"SyntaxError: Generator expression must be parenthesized"
msgstr ""
">>> foo(x, z para z en el rango(10), t, w)\n"
" Archivo \"<stdin>\", línea 1\n"
" foo(x, z para z en el rango(10), t, w)\n"
">>> foo(x, z for z in range(10), t, w)\n"
" File \"<stdin>\", line 1\n"
" foo(x, z for z in range(10), t, w)\n"
" ^^^^^^^^^^^^^^^^^^^^\n"
"SyntaxError: la expresión del generador debe estar entre paréntesis"
"SyntaxError: Generator expression must be parenthesized"

#: ../Doc/whatsnew/3.10.rst:217
msgid "This improvement was contributed by Pablo Galindo in :issue:`43914`."
Expand Down Expand Up @@ -404,11 +404,10 @@ msgid ""
" ^\n"
"SyntaxError: expected ':'"
msgstr ""
">>> si cohete.posición > evento_horizonte\n"
" Archivo \"<stdin>\", línea 1\n"
" si cohete.posición > event_horizon\n"
">>> if rocket.position > event_horizon\n"
" File \"<stdin>\", line 1\n"
" if rocket.position > event_horizon\n"
" ^\n"
"Error de sintaxis: esperado ':'"

#: ../Doc/whatsnew/3.10.rst:232
msgid "(Contributed by Pablo Galindo in :issue:`42997`.)"
Expand All @@ -427,12 +426,11 @@ msgid ""
" ^\n"
"SyntaxError: did you forget parentheses around the comprehension target?"
msgstr ""
">>> {x,y para x,y en zip('abcd', '1234')}\n"
" Archivo \"<stdin>\", línea 1\n"
" {x,y para x,y en zip('abcd', '1234')}\n"
">>> {x,y for x,y in zip('abcd', '1234')}\n"
" File \"<stdin>\", line 1\n"
" {x,y for x,y in zip('abcd', '1234')}\n"
" ^\n"
"Error de sintaxis: ¿olvidó los paréntesis alrededor del objetivo de "
"comprensión?"
"SyntaxError: did you forget parentheses around the comprehension target?"

#: ../Doc/whatsnew/3.10.rst:244
msgid "(Contributed by Pablo Galindo in :issue:`43017`.)"
Expand All @@ -453,14 +451,14 @@ msgid ""
" ^\n"
"SyntaxError: invalid syntax. Perhaps you forgot a comma?"
msgstr ""
">>> elementos = {\n"
">>> items = {\n"
"... x: 1,\n"
"... años: 2\n"
"... y: 2\n"
"... z: 3,\n"
" Archivo \"<stdin>\", línea 3\n"
" File \"<stdin>\", line 3\n"
" y: 2\n"
" ^\n"
"SyntaxError: sintaxis no válida. ¿Quizás olvidaste una coma?"
"SyntaxError: invalid syntax. Perhaps you forgot a comma?"

#: ../Doc/whatsnew/3.10.rst:259
msgid "(Contributed by Pablo Galindo in :issue:`43822`.)"
Expand Down