Skip to content

Traduccion c-api/code #3371

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
76 changes: 37 additions & 39 deletions c-api/code.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ 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: 2022-10-30 17:20-0300\n"
"Last-Translator: Sofía Denner <[email protected]>\n"
"Language: es\n"
"PO-Revision-Date: 2025-02-25 10:49-0300\n"
"Last-Translator: srmorita <[email protected]>\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.5\n"

#: ../Doc/c-api/code.rst:8
msgid "Code Objects"
Expand All @@ -46,30 +47,27 @@ msgstr ""
#: ../Doc/c-api/code.rst:24
#, fuzzy
msgid ""
"This is an instance of :c:type:`PyTypeObject` representing the Python :ref:"
"`code object <code-objects>`."
"This is an instance of :c:type:`PyTypeObject` representing the "
"Python :ref:`code object <code-objects>`."
msgstr ""
"Esta es una instancia de :c:type:`PyTypeObject` que representa el tipo "
"Python :class:`code`."

#: ../Doc/c-api/code.rst:30
#, fuzzy
msgid ""
"Return true if *co* is a :ref:`code object <code-objects>`. This function "
"always succeeds."
msgstr ""
"Retorna verdadero si *co* es un objeto :class:`code`. Esta función siempre "
"finaliza con éxito."
"Retorna verdadero si *co* es un :ref:`objeto código <code-objects>`. Esta "
"función siempre finaliza con éxito."

#: ../Doc/c-api/code.rst:35
#, fuzzy
msgid "Return the number of free variables in a code object."
msgstr "Retorna el número de variables libres en *co*."
msgstr "Retorna el número de variables libres en un objeto código."

#: ../Doc/c-api/code.rst:39
#, fuzzy
msgid "Return the position of the first free variable in a code object."
msgstr "Retorna el número de variables libres en *co*."
msgstr "Retorna la posición de la primera variable libre en un objeto código."

#: ../Doc/c-api/code.rst:43
msgid ""
Expand All @@ -86,8 +84,9 @@ msgstr ""

#: ../Doc/c-api/code.rst:52
msgid ""
"Since the definition of the bytecode changes often, calling :c:func:"
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
"Since the definition of the bytecode changes often, "
"calling :c:func:`PyUnstable_Code_New` directly can bind you to a precise "
"Python version."
msgstr ""

#: ../Doc/c-api/code.rst:55
Expand Down Expand Up @@ -166,8 +165,9 @@ msgstr ""
#: ../Doc/c-api/code.rst:99
#, fuzzy
msgid ""
"For efficiently iterating over the line numbers in a code object, use :pep:"
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
"For efficiently iterating over the line numbers in a code object, "
"use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-"
"profilers>`."
msgstr ""
"Para iterar de manera eficiente sobre los números de línea en un objeto de "
"código, use `la API descrita en PEP 626 <https://peps.python.org/pep-0626/"
Expand Down Expand Up @@ -254,10 +254,10 @@ msgstr ""

#: ../Doc/c-api/code.rst:162
msgid ""
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
"never registered.)"
"Clear watcher identified by *watcher_id* previously returned "
"from :c:func:`PyCode_AddWatcher` for the current interpreter. Return ``0`` "
"on success, or ``-1`` and set an exception on error (e.g. if the given "
"*watcher_id* was never registered.)"
msgstr ""

#: ../Doc/c-api/code.rst:171
Expand Down Expand Up @@ -299,8 +299,8 @@ msgstr ""
#: ../Doc/c-api/code.rst:198
msgid ""
"If the callback sets an exception, it must return ``-1``; this exception "
"will be printed as an unraisable exception using :c:func:"
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
"will be printed as an unraisable exception "
"using :c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
msgstr ""

#: ../Doc/c-api/code.rst:202
Expand All @@ -314,7 +314,7 @@ msgstr ""

#: ../Doc/c-api/code.rst:212
msgid "Extra information"
msgstr ""
msgstr "Información extra"

#: ../Doc/c-api/code.rst:214
msgid ""
Expand Down Expand Up @@ -344,13 +344,13 @@ msgstr ""
#: ../Doc/c-api/code.rst:230
msgid ""
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
"called on non-``NULL`` data stored under the new index. Use :c:func:"
"`Py_DecRef` when storing :c:type:`PyObject`."
"called on non-``NULL`` data stored under the new index. "
"Use :c:func:`Py_DecRef` when storing :c:type:`PyObject`."
msgstr ""

#: ../Doc/c-api/code.rst:236
msgid "as ``_PyEval_RequestCodeExtraIndex``"
msgstr ""
msgstr "como ``_PyEval_RequestCodeExtraIndex``"

#: ../Doc/c-api/code.rst:240
msgid ""
Expand All @@ -372,7 +372,7 @@ msgstr ""

#: ../Doc/c-api/code.rst:254
msgid "as ``_PyCode_GetExtra``"
msgstr ""
msgstr "como ``_PyCode_GetExtra``"

#: ../Doc/c-api/code.rst:258
msgid ""
Expand All @@ -388,7 +388,7 @@ msgstr ""

#: ../Doc/c-api/code.rst:269
msgid "as ``_PyCode_SetExtra``"
msgstr ""
msgstr "como ``_PyCode_SetExtra``"

#: ../Doc/c-api/code.rst:273
msgid ""
Expand All @@ -397,35 +397,33 @@ msgid ""
msgstr ""

#: ../Doc/c-api/code.rst:3
#, fuzzy
msgid "object"
msgstr "Objetos código"
msgstr "objeto"

#: ../Doc/c-api/code.rst:3
msgid "code"
msgstr ""
msgstr "código"

#: ../Doc/c-api/code.rst:3
#, fuzzy
msgid "code object"
msgstr "Objetos código"
msgstr "objeto código"

#: ../Doc/c-api/code.rst:62
msgid "PyCode_New (C function)"
msgstr ""
msgstr "PyCode_New (C function)"

#: ../Doc/c-api/code.rst:75
msgid "PyCode_NewWithPosOnlyArgs (C function)"
msgstr ""
msgstr "PyCode_NewWithPosOnlyArgs (C function)"

#: ../Doc/c-api/code.rst:234
msgid "_PyEval_RequestCodeExtraIndex (C function)"
msgstr ""
msgstr "_PyEval_RequestCodeExtraIndex (C function)"

#: ../Doc/c-api/code.rst:252
msgid "_PyCode_GetExtra (C function)"
msgstr ""
msgstr "_PyCode_GetExtra (C function)"

#: ../Doc/c-api/code.rst:267
msgid "_PyCode_SetExtra (C function)"
msgstr ""
msgstr "_PyCode_SetExtra (C function)"
17 changes: 17 additions & 0 deletions c-api/number.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
<<<<<<< HEAD
<<<<<<< HEAD
"PO-Revision-Date: 2025-02-03 09:07-0300\n"
=======
"PO-Revision-Date: 2025-02-03 17:14-0300\n"
>>>>>>> upstream/3.13
=======
"PO-Revision-Date: 2025-02-05 17:10-0300\n"
>>>>>>> c17edf6507f986746450663e995a617373a3d027
"Last-Translator: srmorita <[email protected]>\n"
"Language-Team: python-doc-es\n"
"Language: es\n"
Expand Down Expand Up @@ -434,15 +442,24 @@ msgid ""
"``tp_as_number`` structure filled in), and ``0`` otherwise. This function "
"always succeeds."
msgstr ""
<<<<<<< HEAD
"Devuelve ``1`` si *o* es un entero índice (tiene la ranura ``nb_index`` de "
"la estructura ``tp_as_number`` rellenada), y ``0`` en caso contrario. Esta "
=======
"Retorna ``1`` si *o* es un entero índice (tiene la ranura ``nb_index`` de la "
"estructura ``tp_as_number`` rellenada), y ``0`` en caso contrario. Esta "
>>>>>>> upstream/3.13
"función siempre finaliza con éxito."

#: ../Doc/c-api/number.rst:67 ../Doc/c-api/number.rst:75
#: ../Doc/c-api/number.rst:97 ../Doc/c-api/number.rst:195
#: ../Doc/c-api/number.rst:241 ../Doc/c-api/number.rst:249
msgid "built-in function"
<<<<<<< HEAD
msgstr "función incorporada"
=======
msgstr "built-in function"
>>>>>>> upstream/3.13

#: ../Doc/c-api/number.rst:67
msgid "divmod"
Expand Down
Loading