From 33657b0bd6ad8b3fc3977f20e5d8eac033acfbf6 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Thu, 7 May 2020 09:40:28 +0200 Subject: [PATCH] Traducido c-api/weakref --- c-api/weakref.po | 51 ++++++++++++++++++++++++++++++++++++++---------- dict | 2 ++ 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/c-api/weakref.po b/c-api/weakref.po index 71e92d99d5..9fb5c5a302 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -6,24 +6,26 @@ # Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to # get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-05-07 09:39+0200\n" "Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." "python.org)\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: \n" +"Language: es\n" +"X-Generator: Poedit 2.3\n" #: ../Doc/c-api/weakref.rst:6 msgid "Weak Reference Objects" -msgstr "" +msgstr "Objetos de referencia débil" #: ../Doc/c-api/weakref.rst:8 msgid "" @@ -32,48 +34,72 @@ msgid "" "is a simple reference object, and the second acts as a proxy for the " "original object as much as it can." msgstr "" +"Python soporta *referencias débiles* como objetos de primera clase. Hay dos " +"tipos de objetos específicos que implementan directamente referencias " +"débiles. El primero es un objeto con referencia simple, y el segundo actúa " +"como un proxy del objeto original tanto como pueda." #: ../Doc/c-api/weakref.rst:16 msgid "Return true if *ob* is either a reference or proxy object." -msgstr "" +msgstr "Retorna verdad (true) si *ob* es una referencia o un objeto proxy." #: ../Doc/c-api/weakref.rst:21 msgid "Return true if *ob* is a reference object." -msgstr "" +msgstr "Retorna verdad (true) si *ob* es un objeto de referencia." #: ../Doc/c-api/weakref.rst:26 msgid "Return true if *ob* is a proxy object." -msgstr "" +msgstr "Retorna verdad (true) si *ob* es un objeto proxy." #: ../Doc/c-api/weakref.rst:31 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 " "reference object may be returned. The second parameter, *callback*, can be " -"a callable object that receives notification when *ob* is garbage collected; " +"a callable object that receives notificación when *ob* is garbage collected; " "it should accept a single parameter, which will be the weak reference object " "itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a " "weakly-referencable object, or if *callback* is not callable, ``None``, or " "``NULL``, this will return ``NULL`` and raise :exc:`TypeError`." msgstr "" +"Retorna un objeto de referencia débil para el objeto *ob*. Esto siempre " +"retornará una nueva referencia, pero no garantiza la creación de un objeto " +"nuevo; un objeto de referencia ya existente puede ser retornado. El segundo " +"parámetro, *callback*, puede ser un objeto invocable que recibe una " +"notificación cuando *ob* es recolectado como basura; debe 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`." #: ../Doc/c-api/weakref.rst:43 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 " "existing proxy object may be returned. The second parameter, *callback*, " -"can be a callable object that receives notification when *ob* is garbage " +"can be a callable object that receives notificación when *ob* is garbage " "collected; it should accept a single parameter, which will be the weak " "reference object itself. *callback* may also be ``None`` or ``NULL``. If " "*ob* is not a weakly-referencable object, or if *callback* is not callable, " "``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`." msgstr "" +"Retorna un objeto proxy de referencia débil para el objeto *ob*. Esto " +"siempre retornará una nueva referencia, pero no garantiza la creación de un " +"objeto nuevo; un objeto proxy de referencia ya existente puede ser " +"retornado. El segundo parámetro, *callback*, puede ser un objeto invocable " +"que recibe una notificación cuando *ob* es recolectado como basura; debe " +"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`." #: ../Doc/c-api/weakref.rst:55 msgid "" "Return the referenced object from a weak reference, *ref*. If the referent " "is no longer live, returns :const:`Py_None`." msgstr "" +"Retorna el objeto referenciado desde una referencia débil, *ref*. Si el " +"referente no está vivo, retornará :const:`Py_None`." #: ../Doc/c-api/weakref.rst:60 msgid "" @@ -81,9 +107,14 @@ msgid "" "This means that you should always call :c:func:`Py_INCREF` on the object " "except if you know that it cannot be destroyed while you are still using it." msgstr "" +"Esta función retorna una *referencia prestada* al objeto referenciado. Esto " +"significa que siempre debes llamar :c:func:`Py_INCREF` en el objeto excepto " +"si sabes que no puede ser destruido mientras lo estés usando." #: ../Doc/c-api/weakref.rst:68 msgid "" "Similar to :c:func:`PyWeakref_GetObject`, but implemented as a macro that " "does no error checking." msgstr "" +"Similar a :c:func:`PyWeakref_GetObject`, pero implementado como un macro que " +"no verifica errores." diff --git a/dict b/dict index 65890e2d32..c898cb2954 100644 --- a/dict +++ b/dict @@ -93,6 +93,7 @@ interactivamente intermezzo interoperabilidad invocables +invocable iterador iterador iteradores @@ -120,6 +121,7 @@ post posteriori prompt prompts +proxy py pyc python