Skip to content

Commit 33657b0

Browse files
committed
Traducido c-api/weakref
1 parent 0dfb1d5 commit 33657b0

File tree

2 files changed

+43
-10
lines changed

2 files changed

+43
-10
lines changed

c-api/weakref.po

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,26 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.7\n"
1312
"Report-Msgid-Bugs-To: \n"
1413
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
15-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
16-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"PO-Revision-Date: 2020-05-07 09:39+0200\n"
1715
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es."
1816
"python.org)\n"
1917
"MIME-Version: 1.0\n"
20-
"Content-Type: text/plain; charset=utf-8\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
2119
"Content-Transfer-Encoding: 8bit\n"
2220
"Generated-By: Babel 2.8.0\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
22+
"Last-Translator: \n"
23+
"Language: es\n"
24+
"X-Generator: Poedit 2.3\n"
2325

2426
#: ../Doc/c-api/weakref.rst:6
2527
msgid "Weak Reference Objects"
26-
msgstr ""
28+
msgstr "Objetos de referencia débil"
2729

2830
#: ../Doc/c-api/weakref.rst:8
2931
msgid ""
@@ -32,58 +34,87 @@ msgid ""
3234
"is a simple reference object, and the second acts as a proxy for the "
3335
"original object as much as it can."
3436
msgstr ""
37+
"Python soporta *referencias débiles* como objetos de primera clase. Hay dos "
38+
"tipos de objetos específicos que implementan directamente referencias "
39+
"débiles. El primero es un objeto con referencia simple, y el segundo actúa "
40+
"como un proxy del objeto original tanto como pueda."
3541

3642
#: ../Doc/c-api/weakref.rst:16
3743
msgid "Return true if *ob* is either a reference or proxy object."
38-
msgstr ""
44+
msgstr "Retorna verdad (true) si *ob* es una referencia o un objeto proxy."
3945

4046
#: ../Doc/c-api/weakref.rst:21
4147
msgid "Return true if *ob* is a reference object."
42-
msgstr ""
48+
msgstr "Retorna verdad (true) si *ob* es un objeto de referencia."
4349

4450
#: ../Doc/c-api/weakref.rst:26
4551
msgid "Return true if *ob* is a proxy object."
46-
msgstr ""
52+
msgstr "Retorna verdad (true) si *ob* es un objeto proxy."
4753

4854
#: ../Doc/c-api/weakref.rst:31
4955
msgid ""
5056
"Return a weak reference object for the object *ob*. This will always return "
5157
"a new reference, but is not guaranteed to create a new object; an existing "
5258
"reference object may be returned. The second parameter, *callback*, can be "
53-
"a callable object that receives notification when *ob* is garbage collected; "
59+
"a callable object that receives notificación when *ob* is garbage collected; "
5460
"it should accept a single parameter, which will be the weak reference object "
5561
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
5662
"weakly-referencable object, or if *callback* is not callable, ``None``, or "
5763
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
5864
msgstr ""
65+
"Retorna un objeto de referencia débil para el objeto *ob*. Esto siempre "
66+
"retornará una nueva referencia, pero no garantiza la creación de un objeto "
67+
"nuevo; un objeto de referencia ya existente puede ser retornado. El segundo "
68+
"parámetro, *callback*, puede ser un objeto invocable que recibe una "
69+
"notificación cuando *ob* es recolectado como basura; debe aceptar un solo "
70+
"parámetro, el cual será el mismo objeto de referencia débil. *callback* "
71+
"también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto "
72+
"que puede ser referido de forma débil, o si *callback* no es invocable, "
73+
"``None``, o ``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`."
5974

6075
#: ../Doc/c-api/weakref.rst:43
6176
msgid ""
6277
"Return a weak reference proxy object for the object *ob*. This will always "
6378
"return a new reference, but is not guaranteed to create a new object; an "
6479
"existing proxy object may be returned. The second parameter, *callback*, "
65-
"can be a callable object that receives notification when *ob* is garbage "
80+
"can be a callable object that receives notificación when *ob* is garbage "
6681
"collected; it should accept a single parameter, which will be the weak "
6782
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
6883
"*ob* is not a weakly-referencable object, or if *callback* is not callable, "
6984
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
7085
msgstr ""
86+
"Retorna un objeto proxy de referencia débil para el objeto *ob*. Esto "
87+
"siempre retornará una nueva referencia, pero no garantiza la creación de un "
88+
"objeto nuevo; un objeto proxy de referencia ya existente puede ser "
89+
"retornado. El segundo parámetro, *callback*, puede ser un objeto invocable "
90+
"que recibe una notificación cuando *ob* es recolectado como basura; debe "
91+
"aceptar un solo parámetro, el cual será el mismo objeto de referencia débil. "
92+
"*callback* también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto "
93+
"que puede ser referido de forma débil, o si *callback* no es invocable, "
94+
"``None``, o ``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`."
7195

7296
#: ../Doc/c-api/weakref.rst:55
7397
msgid ""
7498
"Return the referenced object from a weak reference, *ref*. If the referent "
7599
"is no longer live, returns :const:`Py_None`."
76100
msgstr ""
101+
"Retorna el objeto referenciado desde una referencia débil, *ref*. Si el "
102+
"referente no está vivo, retornará :const:`Py_None`."
77103

78104
#: ../Doc/c-api/weakref.rst:60
79105
msgid ""
80106
"This function returns a **borrowed reference** to the referenced object. "
81107
"This means that you should always call :c:func:`Py_INCREF` on the object "
82108
"except if you know that it cannot be destroyed while you are still using it."
83109
msgstr ""
110+
"Esta función retorna una *referencia prestada* al objeto referenciado. Esto "
111+
"significa que siempre debes llamar :c:func:`Py_INCREF` en el objeto excepto "
112+
"si sabes que no puede ser destruido mientras lo estés usando."
84113

85114
#: ../Doc/c-api/weakref.rst:68
86115
msgid ""
87116
"Similar to :c:func:`PyWeakref_GetObject`, but implemented as a macro that "
88117
"does no error checking."
89118
msgstr ""
119+
"Similar a :c:func:`PyWeakref_GetObject`, pero implementado como un macro que "
120+
"no verifica errores."

dict

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ interactivamente
9393
intermezzo
9494
interoperabilidad
9595
invocables
96+
invocable
9697
iterador
9798
iterador
9899
iteradores
@@ -120,6 +121,7 @@ post
120121
posteriori
121122
prompt
122123
prompts
124+
proxy
123125
py
124126
pyc
125127
python

0 commit comments

Comments
 (0)