Skip to content

Commit c44353b

Browse files
authored
Merge pull request #118 from cmaureir/traduccion-weakref
Traducido c-api/weakref
2 parents e88e2bf + e1acdc5 commit c44353b

File tree

2 files changed

+45
-11
lines changed

2 files changed

+45
-11
lines changed

c-api/weakref.po

+43-11
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,26 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.8\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"
17-
"Language-Team: python-doc-es\n"
14+
"PO-Revision-Date: 2020-05-07 09:39+0200\n"
15+
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es."
16+
"python.org)\n"
1817
"MIME-Version: 1.0\n"
19-
"Content-Type: text/plain; charset=utf-8\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
2019
"Content-Transfer-Encoding: 8bit\n"
2120
"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"
2225

2326
#: ../Doc/c-api/weakref.rst:6
2427
msgid "Weak Reference Objects"
25-
msgstr ""
28+
msgstr "Objetos de referencia débil"
2629

2730
#: ../Doc/c-api/weakref.rst:8
2831
msgid ""
@@ -31,58 +34,87 @@ msgid ""
3134
"is a simple reference object, and the second acts as a proxy for the "
3235
"original object as much as it can."
3336
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."
3441

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

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

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

4754
#: ../Doc/c-api/weakref.rst:31
4855
msgid ""
4956
"Return a weak reference object for the object *ob*. This will always return "
5057
"a new reference, but is not guaranteed to create a new object; an existing "
5158
"reference object may be returned. The second parameter, *callback*, can be "
52-
"a callable object that receives notification when *ob* is garbage collected; "
59+
"a callable object that receives notificación when *ob* is garbage collected; "
5360
"it should accept a single parameter, which will be the weak reference object "
5461
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
5562
"weakly-referencable object, or if *callback* is not callable, ``None``, or "
5663
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
5764
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 que puede ser "
72+
"referido de forma débil, o si *callback* no es invocable, ``None``, o "
73+
"``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`."
5874

5975
#: ../Doc/c-api/weakref.rst:43
6076
msgid ""
6177
"Return a weak reference proxy object for the object *ob*. This will always "
6278
"return a new reference, but is not guaranteed to create a new object; an "
6379
"existing proxy object may be returned. The second parameter, *callback*, "
64-
"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 "
6581
"collected; it should accept a single parameter, which will be the weak "
6682
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
6783
"*ob* is not a weakly-referencable object, or if *callback* is not callable, "
6884
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
6985
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`."
7095

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

77104
#: ../Doc/c-api/weakref.rst:60
78105
msgid ""
79106
"This function returns a **borrowed reference** to the referenced object. "
80107
"This means that you should always call :c:func:`Py_INCREF` on the object "
81108
"except if you know that it cannot be destroyed while you are still using it."
82109
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."
83113

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

dict

+2
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ interoperabilidad
139139
intérpreter
140140
invocable
141141
invocables
142+
invocable
142143
iterador
143144
iteradores
144145
json
@@ -175,6 +176,7 @@ precompilado
175176
predeclarando
176177
prompt
177178
prompts
179+
proxy
178180
pseudo
179181
py
180182
pyc

0 commit comments

Comments
 (0)