Skip to content

Commit e395746

Browse files
author
Francisco Mora
committed
Traducido archivo c-api/weakref
1 parent ba92a98 commit e395746

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

c-api/weakref.po

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date: 2021-10-18 19:38+0200\n"
15-
"Last-Translator: Diego Cristóbal Herreros <diecristher@gmail.com>\n"
14+
"PO-Revision-Date: 2025-02-05 16:21-0300\n"
15+
"Last-Translator: srmorita <fr.morac@duocuc.cl>\n"
16+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-"
17+
"es.python.org)\n"
1618
"Language: es\n"
17-
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es."
18-
"python.org)\n"
19-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2019
"MIME-Version: 1.0\n"
2120
"Content-Type: text/plain; charset=utf-8\n"
2221
"Content-Transfer-Encoding: 8bit\n"
22+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2323
"Generated-By: Babel 2.16.0\n"
24+
"X-Generator: Poedit 3.5\n"
2425

2526
#: ../Doc/c-api/weakref.rst:6
2627
msgid "Weak Reference Objects"
@@ -39,33 +40,29 @@ msgstr ""
3940
"como un proxy del objeto original tanto como pueda."
4041

4142
#: ../Doc/c-api/weakref.rst:16
42-
#, fuzzy
4343
msgid ""
4444
"Return non-zero if *ob* is either a reference or proxy object. This "
4545
"function always succeeds."
4646
msgstr ""
47-
"Retorna verdadero (true) si *ob* es una referencia o un objeto proxy. Esta "
48-
"función siempre finaliza con éxito."
47+
"Retorna un valor distinto de cero si *ob* es una referencia o un objeto "
48+
"proxy. Esta función siempre finaliza con éxito."
4949

5050
#: ../Doc/c-api/weakref.rst:22
51-
#, fuzzy
5251
msgid ""
5352
"Return non-zero if *ob* is a reference object. This function always "
5453
"succeeds."
5554
msgstr ""
56-
"Retorna verdadero (true) si *ob* es un objeto de referencia. Esta función "
57-
"siempre finaliza con éxito."
55+
"Retorna un valor distinto de cero si *ob* es un objeto de referencia. Esta "
56+
"función siempre finaliza con éxito."
5857

5958
#: ../Doc/c-api/weakref.rst:27
60-
#, fuzzy
6159
msgid ""
6260
"Return non-zero if *ob* is a proxy object. This function always succeeds."
6361
msgstr ""
64-
"Retorna verdadero (true) si *ob* es un objeto proxy. Esta función siempre "
65-
"finaliza con éxito."
62+
"Retorna un valor distinto de cero si *ob* es un objeto proxy. Esta función "
63+
"siempre finaliza con éxito."
6664

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

8986
#: ../Doc/c-api/weakref.rst:44
9087
#, fuzzy
@@ -113,6 +110,8 @@ msgid ""
113110
"Get a :term:`strong reference` to the referenced object from a weak "
114111
"reference, *ref*, into *\\*pobj*."
115112
msgstr ""
113+
"Obtiene un :term:`strong reference` al objeto referenciado desde una "
114+
"referencia débil, *ref*, into *\\*pobj*."
116115

117116
#: ../Doc/c-api/weakref.rst:59
118117
msgid ""
@@ -123,10 +122,11 @@ msgstr ""
123122
#: ../Doc/c-api/weakref.rst:61
124123
msgid "If the reference is dead, set *\\*pobj* to ``NULL`` and return 0."
125124
msgstr ""
125+
"Si la referencia está inactiva, asigna *\\*pobj* to ``NULL`` y retorna 0."
126126

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

131131
#: ../Doc/c-api/weakref.rst:69
132132
#, fuzzy
@@ -151,7 +151,7 @@ msgstr ""
151151

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

156156
#: ../Doc/c-api/weakref.rst:85
157157
#, fuzzy
@@ -165,6 +165,8 @@ msgid ""
165165
"This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler "
166166
"to clear weak references."
167167
msgstr ""
168+
"Esta función es invocada por el gestor :c:member:`~PyTypeObject.tp_dealloc` "
169+
"para limpiar referencias débiles."
168170

169171
#: ../Doc/c-api/weakref.rst:96
170172
msgid ""
@@ -188,6 +190,7 @@ msgstr ""
188190

189191
#: ../Doc/c-api/weakref.rst:111
190192
msgid ""
191-
"In most circumstances, it's more appropriate to use :c:func:"
192-
"`PyObject_ClearWeakRefs` to clear weakrefs instead of this function."
193+
"In most circumstances, it's more appropriate to "
194+
"use :c:func:`PyObject_ClearWeakRefs` to clear weakrefs instead of this "
195+
"function."
193196
msgstr ""

0 commit comments

Comments
 (0)