Skip to content

Commit ac8935c

Browse files
authored
Merge pull request #275 from cmaureir/traduccion-complex
Traducido c-api/complex
2 parents 9fd9015 + b29bf73 commit ac8935c

File tree

2 files changed

+61
-12
lines changed

2 files changed

+61
-12
lines changed

c-api/complex.po

+59-12
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@
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"
14+
"PO-Revision-Date: 2020-05-16 16:48+0200\n"
1715
"Language-Team: python-doc-es\n"
1816
"MIME-Version: 1.0\n"
19-
"Content-Type: text/plain; charset=utf-8\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding: 8bit\n"
2119
"Generated-By: Babel 2.8.0\n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
22+
"Language: es\n"
23+
"X-Generator: Poedit 2.3\n"
2224

2325
#: ../Doc/c-api/complex.rst:6
2426
msgid "Complex Number Objects"
25-
msgstr ""
27+
msgstr "Objetos de números complejos"
2628

2729
#: ../Doc/c-api/complex.rst:10
2830
msgid ""
@@ -31,17 +33,25 @@ msgid ""
3133
"and the other is a C structure which represents the actual complex number "
3234
"value. The API provides functions for working with both."
3335
msgstr ""
36+
"Los objetos de números complejos de Python se implementan como dos tipos "
37+
"distintos cuando se ven desde la API de C: uno es el objeto de Python "
38+
"expuesto a los programas de Python, y el otro es una estructura en C que "
39+
"representa el valor de número complejo real. La API proporciona funciones "
40+
"para trabajar con ambos."
3441

3542
#: ../Doc/c-api/complex.rst:17
3643
msgid "Complex Numbers as C Structures"
37-
msgstr ""
44+
msgstr "Números complejos como estructuras C"
3845

3946
#: ../Doc/c-api/complex.rst:19
4047
msgid ""
4148
"Note that the functions which accept these structures as parameters and "
4249
"return them as results do so *by value* rather than dereferencing them "
4350
"through pointers. This is consistent throughout the API."
4451
msgstr ""
52+
"Tenga en cuenta que las funciones que aceptan estas estructuras como "
53+
"parámetros y las retornan como resultados lo hacen *por valor* en lugar de "
54+
"desreferenciarlas a través de punteros. Esto es consistente en toda la API."
4555

4656
#: ../Doc/c-api/complex.rst:26
4757
msgid ""
@@ -50,103 +60,134 @@ msgid ""
5060
"objects use structures of this type as input or output values, as "
5161
"appropriate. It is defined as::"
5262
msgstr ""
63+
"La estructura C que corresponde a la porción de valor de un objeto de número "
64+
"complejo de Python. La mayoría de las funciones para tratar con objetos de "
65+
"números complejos utilizan estructuras de este tipo como valores de entrada "
66+
"o salida, según corresponda. Se define como::"
5367

5468
#: ../Doc/c-api/complex.rst:39
5569
msgid ""
5670
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
5771
"representation."
5872
msgstr ""
73+
"Retorna la suma de dos números complejos, utilizando la representación C :c:"
74+
"type:`Py_complex`."
5975

6076
#: ../Doc/c-api/complex.rst:45
6177
msgid ""
6278
"Return the difference between two complex numbers, using the C :c:type:"
6379
"`Py_complex` representation."
6480
msgstr ""
81+
"Retorna la diferencia entre dos números complejos, usando la representación "
82+
"C :c:type:`Py_complex`."
6583

6684
#: ../Doc/c-api/complex.rst:51
6785
msgid ""
6886
"Return the negation of the complex number *complex*, using the C :c:type:"
6987
"`Py_complex` representation."
7088
msgstr ""
89+
"Retorna la negación del número complejo *complex*, utilizando la "
90+
"representación C :c:type:`Py_complex`."
7191

7292
#: ../Doc/c-api/complex.rst:57
7393
msgid ""
7494
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
7595
"representation."
7696
msgstr ""
97+
"Retorna el producto de dos números complejos, usando la representación C :c:"
98+
"type:`Py_complex`."
7799

78100
#: ../Doc/c-api/complex.rst:63
79101
msgid ""
80102
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
81103
"representation."
82104
msgstr ""
105+
"Retorna el cociente de dos números complejos, utilizando la representación "
106+
"C :c:type:`Py_complex`."
83107

84108
#: ../Doc/c-api/complex.rst:66
85109
msgid ""
86110
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
87111
"c:data:`EDOM`."
88112
msgstr ""
113+
"Si *divisor* es nulo, este método retorna cero y establece :c:data:`errno` "
114+
"en :c:data:`EDOM`."
89115

90116
#: ../Doc/c-api/complex.rst:72
91117
msgid ""
92118
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
93119
"`Py_complex` representation."
94120
msgstr ""
121+
"Retorna la exponenciación de *num* por *exp*, utilizando la representación "
122+
"C :c:type:`Py_complex`."
95123

96124
#: ../Doc/c-api/complex.rst:75
97125
msgid ""
98126
"If *num* is null and *exp* is not a positive real number, this method "
99127
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
100128
msgstr ""
129+
"Si *num* es nulo y *exp* no es un número real positivo, este método retorna "
130+
"cero y establece :c:data:`errno` a :c:data:`EDOM`."
101131

102132
#: ../Doc/c-api/complex.rst:80
103133
msgid "Complex Numbers as Python Objects"
104-
msgstr ""
134+
msgstr "Números complejos como objetos de Python"
105135

106136
#: ../Doc/c-api/complex.rst:85
107137
msgid ""
108138
"This subtype of :c:type:`PyObject` represents a Python complex number object."
109139
msgstr ""
140+
"Este subtipo de :c:type:`PyObject` representa un objeto de número complejo "
141+
"de Python."
110142

111143
#: ../Doc/c-api/complex.rst:90
112144
msgid ""
113145
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
114146
"type. It is the same object as :class:`complex` in the Python layer."
115147
msgstr ""
148+
"Esta instancia de :c:type:`PyTypeObject` representa el tipo de número "
149+
"complejo de Python. Es el mismo objeto que :class:`complex` en la capa de "
150+
"Python."
116151

117152
#: ../Doc/c-api/complex.rst:96
118153
msgid ""
119154
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
120155
"c:type:`PyComplexObject`."
121156
msgstr ""
157+
"Retorna verdadero si su argumento es a :c:type:`PyComplexObject` o un "
158+
"subtipo de :c:type:`PyComplexObject`."
122159

123160
#: ../Doc/c-api/complex.rst:102
124161
msgid ""
125162
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
126163
"subtype of :c:type:`PyComplexObject`."
127164
msgstr ""
165+
"Retorna verdadero si su argumento es un :c:type:`PyComplexObject`, pero no "
166+
"un subtipo de :c:type:`PyComplexObject`."
128167

129168
#: ../Doc/c-api/complex.rst:108
130169
msgid ""
131170
"Create a new Python complex number object from a C :c:type:`Py_complex` "
132171
"value."
133172
msgstr ""
173+
"Crea un nuevo objeto de número complejo de Python a partir de un valor C :c:"
174+
"type:`Py_complex`."
134175

135176
#: ../Doc/c-api/complex.rst:113
136177
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
137-
msgstr ""
178+
msgstr "Retorna un nuevo objeto :c:type:`PyComplexObject` de *real* e *imag*."
138179

139180
#: ../Doc/c-api/complex.rst:118
140181
msgid "Return the real part of *op* as a C :c:type:`double`."
141-
msgstr ""
182+
msgstr "Retorna la parte real de *op* como :c:type:`double` en C."
142183

143184
#: ../Doc/c-api/complex.rst:123
144185
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
145-
msgstr ""
186+
msgstr "Retorna la parte imaginaria de *op* como un :c:type:`double` de C."
146187

147188
#: ../Doc/c-api/complex.rst:128
148189
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
149-
msgstr ""
190+
msgstr "Retorna el valor :c:type:`Py_complex` del número complejo *op*."
150191

151192
#: ../Doc/c-api/complex.rst:130
152193
msgid ""
@@ -157,7 +198,13 @@ msgid ""
157198
"meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real "
158199
"value."
159200
msgstr ""
201+
"Si *op* no es un objeto de número complejo de Python pero tiene un método :"
202+
"meth:`__complex__`, primero se llamará a este método para convertir *op* en "
203+
"un objeto de número complejo de Python. Si ``__complex__()`` no está "
204+
"definido, vuelve a :meth:`__float__`. Si ``__float__()`` no está definido, "
205+
"entonces recurre a :meth:`__index__`. En caso de falla, este método retorna "
206+
"``-1.0`` como un valor real."
160207

161208
#: ../Doc/c-api/complex.rst:137
162209
msgid "Use :meth:`__index__` if available."
163-
msgstr ""
210+
msgstr "Use :meth:`__index__` si está disponible."

dict

+2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ deserialización
177177
deserializar
178178
desinstalador
179179
desreferenciación
180+
desreferenciarlas
180181
dict
181182
dinámicamente
182183
docstring
@@ -192,6 +193,7 @@ env
192193
especificador
193194
estáticamente
194195
except
196+
exponenciación
195197
exit
196198
f
197199
flag

0 commit comments

Comments
 (0)