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/weakref#3369

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 18 commits intopython:3.13fromsrmorita:traduccion-capi-weakref
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
020dafa
Traducido archivo c-api/number
srmoritaFeb 3, 2025
6d58009
Doc build exception fixed
srmoritaFeb 3, 2025
ba92a98
Update
srmoritaFeb 5, 2025
e395746
Traducido archivo c-api/weakref
srmoritaFeb 5, 2025
4264afb
Finaliza traducción y agrega termino al diccionario
srmoritaFeb 5, 2025
7162fa6
Fixed format
srmoritaFeb 5, 2025
aadb342
Update c-api/weakref.po
srmoritaFeb 6, 2025
61b8df9
Update c-api/weakref.po
srmoritaFeb 6, 2025
1f14c69
Update c-api/weakref.po
srmoritaFeb 6, 2025
f4d6a0f
Merge remote-tracking branch 'upstream/3.13' into 3.13
srmoritaFeb 6, 2025
811b447
Traducido archivo c-api/weakref
srmoritaFeb 5, 2025
4c2680c
Finaliza traducción y agrega termino al diccionario
srmoritaFeb 5, 2025
446bead
Fixed format
srmoritaFeb 5, 2025
ff2e1cc
Observations fixed
srmoritaFeb 6, 2025
a8cf64a
Merge branch 'python:3.13' into traduccion-capi-weakref
srmoritaFeb 6, 2025
8675438
Fixed format
srmoritaFeb 6, 2025
5ef035d
Fixed devikesy term
srmoritaFeb 7, 2025
9e16a0a
Deleted file dictionaries/c-api_weakref.txt
srmoritaFeb 10, 2025
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
2 changes: 1 addition & 1 deletionc-api/number.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-02-03 17:14-0300\n"
"PO-Revision-Date: 2025-02-05 17:10-0300\n"
"Last-Translator: srmorita <fr.morac@duocuc.cl>\n"
"Language-Team: python-doc-es\n"
"Language: es\n"
Expand Down
74 changes: 45 additions & 29 deletionsc-api/weakref.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,16 +11,17 @@ 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: 2021-10-18 19:38+0200\n"
"Last-Translator: Diego Cristóbal Herreros <diecristher@gmail.com>\n"
"PO-Revision-Date: 2025-02-07 10:04-0300\n"
"Last-Translator: srmorita <fr.morac@duocuc.cl>\n"
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-"
"es.python.org)\n"
"Language: es\n"
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es."
"python.org)\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\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/weakref.rst:6
msgid "Weak Reference Objects"
Expand All@@ -39,33 +40,29 @@ msgstr ""
"como un proxy del objeto original tanto como pueda."

#: ../Doc/c-api/weakref.rst:16
#, fuzzy
msgid ""
"Return non-zero if *ob* is either a reference or proxy object. This "
"function always succeeds."
msgstr ""
"Retornaverdadero (true)si *ob* es una referencia o un objeto proxy. Esta "
"función siempre finaliza con éxito."
"Retornaun valor distinto de cerosi *ob* es una referencia o un objeto "
"proxy. Estafunción siempre finaliza con éxito."

#: ../Doc/c-api/weakref.rst:22
#, fuzzy
msgid ""
"Return non-zero if *ob* is a reference object. This function always "
"succeeds."
msgstr ""
"Retornaverdadero (true)si *ob* es un objeto de referencia. Esta función "
"siempre finaliza con éxito."
"Retornaun valor distinto de cerosi *ob* es un objeto de referencia. Esta "
"funciónsiempre finaliza con éxito."

#: ../Doc/c-api/weakref.rst:27
#, fuzzy
msgid ""
"Return non-zero if *ob* is a proxy object. This function always succeeds."
msgstr ""
"Retornaverdadero (true)si *ob* es un objeto proxy. Esta función siempre "
"finaliza con éxito."
"Retornaun valor distinto de cerosi *ob* es un objeto proxy. Esta función "
"siemprefinaliza con éxito."

#: ../Doc/c-api/weakref.rst:32
#, fuzzy
msgid ""
"Return a weak reference object for the object *ob*. This will always return "
"a new reference, but is not guaranteed to create a new object; an existing "
Expand All@@ -84,10 +81,9 @@ msgstr ""
"parámetro, el cual será el mismo objeto de referencia débil. *callback* "
"también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto que puede ser "
"referido de forma débil, o si *callback* no es invocable, ``None``, o "
"``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`."
"``NULL``, esto retornará ``NULL``y lanzará un :exc:`TypeError`."

#: ../Doc/c-api/weakref.rst:44
#, fuzzy
msgid ""
"Return a weak reference proxy object for the object *ob*. This will always "
"return a new reference, but is not guaranteed to create a new object; an "
Expand All@@ -106,36 +102,41 @@ msgstr ""
"aceptar un solo parámetro, el cual será el mismo objeto de referencia débil. "
"*callback* también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto "
"que puede ser referido de forma débil, o si *callback* no es invocable, "
"``None``, o ``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`."
"``None``, o ``NULL``, esto retornará ``NULL``y lanzará un :exc:`TypeError`."

#: ../Doc/c-api/weakref.rst:56
msgid ""
"Get a :term:`strong reference` to the referenced object from a weak "
"reference, *ref*, into *\\*pobj*."
msgstr ""
"Obtiene un :term:`strong reference` al objeto referenciado desde una "
"referencia débil, *ref*, en *\\*pobj*."

#: ../Doc/c-api/weakref.rst:59
msgid ""
"On success, set *\\*pobj* to a new :term:`strong reference` to the "
"referenced object and return 1."
msgstr ""
"En caso de éxito, asigna *\\*pobj* en un nuevo :term:`strong reference` al "
"objeto referenciado y retorna 1."

#: ../Doc/c-api/weakref.rst:61
msgid "If the reference is dead, set *\\*pobj* to ``NULL`` and return 0."
msgstr ""
"Si la referencia está inactiva, asigna *\\*pobj* a ``NULL`` y retorna 0."

#: ../Doc/c-api/weakref.rst:62
msgid "On error, raise an exception and return -1."
msgstr ""
msgstr "En caso de error, lanza una excepción y devuelve -1."

#: ../Doc/c-api/weakref.rst:69
#, fuzzy
msgid ""
"Return a :term:`borrowed reference` to the referenced object from a weak "
"reference, *ref*. If the referent is no longer live, returns ``Py_None``."
msgstr ""
"Retorna el objeto referenciado desde una referencia débil, *ref*. Si el "
"referente no está vivo, retornará :const:`Py_None`."
"Retorna un :term:`borrowed reference` del objeto referenciado desde una "
"referencia débil, *ref*. Si el referente ya no está activo, retorna "
"``Py_None``."

#: ../Doc/c-api/weakref.rst:74
msgid ""
Expand All@@ -146,36 +147,41 @@ msgid ""
msgstr ""
"Esta función retorna una referencia :term:`borrowed reference` al objeto "
"referenciado. Esto significa que siempre debe llamar a :c:func:`Py_INCREF` "
"sobre el objeto, excepto cuando no pueda ser destruido antes del último uso "
"sobre el objeto excepto cuando no pueda ser destruido antes del último uso "
"de la referencia prestada."

#: ../Doc/c-api/weakref.rst:79 ../Doc/c-api/weakref.rst:87
msgid "Use :c:func:`PyWeakref_GetRef` instead."
msgstr ""
msgstr "Utiliza :c:func:`PyWeakref_GetRef` en su lugar."

#: ../Doc/c-api/weakref.rst:85
#, fuzzy
msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking."
msgstr ""
"Similar a :c:func:`PyWeakref_GetObject`, peroimplementado como un macro que "
"no verifica errores."
"Similar a :c:func:`PyWeakref_GetObject`, perono realiza ninguna "
"comprobación de errores."

#: ../Doc/c-api/weakref.rst:93
msgid ""
"This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler "
"to clear weak references."
msgstr ""
"Esta función es invocada por el gestor :c:member:`~PyTypeObject.tp_dealloc` "
"para limpiar referencias débiles."

#: ../Doc/c-api/weakref.rst:96
msgid ""
"This iterates through the weak references for *object* and calls callbacks "
"for those references which have one. It returns when all callbacks have been "
"attempted."
msgstr ""
"Esto recorre las referencias débiles de *object* e invoca retrollamadas para "
"aquellas referencias que tengan una. Retorna cuando se han intentado todas "
"las retrollamadas."

#: ../Doc/c-api/weakref.rst:103
msgid "Clears the weakrefs for *object* without calling the callbacks."
msgstr ""
"Borra las referencias débiles para *object* sin llamar a las retrollamadas."

#: ../Doc/c-api/weakref.rst:105
msgid ""
Expand All@@ -185,9 +191,19 @@ msgid ""
"and call their callbacks, then the finalizer, and finally this function to "
"clear any weakrefs that may have been created by the finalizer."
msgstr ""
"Esta función es invocada por el gestor :c:member:`~PyTypeObject.tp_dealloc` "
"para tipos con finalizadores (i.e., :meth:`~object.__del__`). El gestor de "
"esos objetos primero llama a :c:func:`PyObject_ClearWeakRefs` para borrar "
"las referencias débiles y llamar a sus callbacks, luego al finalizador, y "
"finalmente a esta función para borrar cualquier referencia débil que pueda "
"haber sido creada por el finalizador."

#: ../Doc/c-api/weakref.rst:111
msgid ""
"In most circumstances, it's more appropriate to use :c:func:"
"`PyObject_ClearWeakRefs` to clear weakrefs instead of this function."
"In most circumstances, it's more appropriate to "
"use :c:func:`PyObject_ClearWeakRefs` to clear weakrefs instead of this "
"function."
msgstr ""
"En la mayoría de los casos, es más apropiado "
"utilizar :c:func:`PyObject_ClearWeakRefs` para borrar las referencias "
"débiles en lugar de esta función."

[8]ページ先頭

©2009-2025 Movatter.jp