Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5356a3c

Browse files
committed
Traducido archivo c-api/complex
1 parentc8f6871 commit5356a3c

File tree

1 file changed

+42
-43
lines changed

1 file changed

+42
-43
lines changed

‎c-api/complex.po‎

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ 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-12-09 10:18+0800\n"
14+
"PO-Revision-Date:2025-10-07 00:02-0600\n"
1515
"Last-Translator:Rodrigo Tobar <rtobarc@gmail.com>\n"
16-
"Language:es\n"
1716
"Language-Team:python-doc-es\n"
18-
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
17+
"Language:es\n"
1918
"MIME-Version:1.0\n"
2019
"Content-Type:text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding:8bit\n"
21+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
2222
"Generated-By:Babel 2.16.0\n"
23+
"X-Generator:Poedit 3.7\n"
2324

2425
#:../Doc/c-api/complex.rst:6
2526
msgid"Complex Number Objects"
@@ -53,7 +54,6 @@ msgstr ""
5354
"desreferenciarlas a través de punteros. Esto es consistente en toda la API."
5455

5556
#:../Doc/c-api/complex.rst:26
56-
#,fuzzy
5757
msgid""
5858
"The C structure which corresponds to the value portion of a Python complex "
5959
"number object. Most of the functions for dealing with complex number "
@@ -63,11 +63,11 @@ msgstr ""
6363
"La estructura C que corresponde a la porción de valor de un objeto de número "
6464
"complejo de Python. La mayoría de las funciones para tratar con objetos de "
6565
"números complejos utilizan estructuras de este tipo como valores de entrada "
66-
"o salida, según corresponda. Se define como::"
66+
"o salida, según corresponda."
6767

6868
#:../Doc/c-api/complex.rst:33
6969
msgid"The structure is defined as::"
70-
msgstr""
70+
msgstr"La estructura se define como::"
7171

7272
#:../Doc/c-api/complex.rst:35
7373
msgid""
@@ -76,6 +76,10 @@ msgid ""
7676
" double imag;\n"
7777
"} Py_complex;"
7878
msgstr""
79+
"typedef struct {\r\n"
80+
" double real;\r\n"
81+
" double imag;\r\n"
82+
"} Py_complex;"
7983

8084
#:../Doc/c-api/complex.rst:43
8185
msgid""
@@ -118,13 +122,12 @@ msgstr ""
118122
"C :c:type:`Py_complex`."
119123

120124
#:../Doc/c-api/complex.rst:70
121-
#,fuzzy
122125
msgid""
123126
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
124127
"c:macro:`!EDOM`."
125128
msgstr""
126129
"Si *divisor* es nulo, este método retorna cero y establece :c:data:`errno` "
127-
"en :c:data:`EDOM`."
130+
"en :c:macro:`!EDOM`."
128131

129132
#:../Doc/c-api/complex.rst:76
130133
msgid""
@@ -135,13 +138,12 @@ msgstr ""
135138
"C :c:type:`Py_complex`."
136139

137140
#:../Doc/c-api/complex.rst:79
138-
#,fuzzy
139141
msgid""
140142
"If *num* is null and *exp* is not a positive real number, this method "
141143
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
142144
msgstr""
143145
"Si *num* es nulo y *exp* no es un número real positivo, este método retorna "
144-
"cero y establece :c:data:`errno` a :c:data:`EDOM`."
146+
"cero y establece :c:data:`errno` a :c:macro:`!EDOM`."
145147

146148
#:../Doc/c-api/complex.rst:84
147149
msgid"Complex Numbers as Python Objects"
@@ -182,59 +184,57 @@ msgstr ""
182184
"éxito."
183185

184186
#:../Doc/c-api/complex.rst:112
185-
#,fuzzy
186187
msgid""
187188
"Create a new Python complex number object from a C :c:type:`Py_complex` "
188189
"value. Return ``NULL`` with an exception set on error."
189190
msgstr""
190191
"Crea un nuevo objeto de número complejo de Python a partir de un valor C :c:"
191-
"type:`Py_complex`."
192+
"type:`Py_complex`. Retorna ``NULL`` con una excepción establecida en caso de "
193+
"error."
192194

193195
#:../Doc/c-api/complex.rst:118
194-
#,fuzzy
195196
msgid""
196197
"Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return "
197198
"``NULL`` with an exception set on error."
198-
msgstr"Retorna un nuevo objeto :c:type:`PyComplexObject` de *real* e *imag*."
199+
msgstr""
200+
"Retorna un nuevo objeto :c:type:`PyComplexObject` de *real* e *imag*. "
201+
"Retorna ``NULL`` con una excepción establecida en caso de error."
199202

200203
#:../Doc/c-api/complex.rst:124
201-
#,fuzzy
202204
msgid"Return the real part of *op* as a C :c:expr:`double`."
203-
msgstr"Retorna la parte real de *op* como :c:type:`double` en C."
205+
msgstr"Retorna la parte real de *op* como :c:expr:`double` en C."
204206

205207
#:../Doc/c-api/complex.rst:126
206-
#,fuzzy
207208
msgid""
208209
"If *op* is not a Python complex number object but has a :meth:`~object."
209210
"__complex__` method, this method will first be called to convert *op* to a "
210211
"Python complex number object. If :meth:`!__complex__` is not defined then "
211212
"it falls back to call :c:func:`PyFloat_AsDouble` and returns its result."
212213
msgstr""
213214
"Si *op* no es un objeto de número complejo de Python pero tiene un método :"
214-
"meth:`__complex__`, primero se llamará a este método para convertir *op* en "
215-
"un objeto de número complejo de Python. Si ``__complex__()`` no está "
216-
"definido, vuelve a :meth:`__float__`. Si ``__float__()`` no está definido, "
217-
"entonces recurre a :meth:`__index__`. En caso de falla, este método retorna "
218-
"``-1.0`` como un valor real."
215+
"meth:`~object.__complex__`, primero se llamará a este método para convertir "
216+
"*op* en un objeto de número complejo de Python. Si :meth:`!__complex__` no "
217+
"está definido, entonces recurre a :c:func:`PyFloat_AsDouble` y retorna su "
218+
"resultado."
219219

220220
#:../Doc/c-api/complex.rst:132../Doc/c-api/complex.rst:148
221221
msgid""
222222
"Upon failure, this method returns ``-1.0`` with an exception set, so one "
223223
"should call :c:func:`PyErr_Occurred` to check for errors."
224224
msgstr""
225+
"En caso de falla, este método retorna ``-1.0`` con una excepción "
226+
"establecida, por lo que se debe llamar :c:func:`PyErr_Occurred` para "
227+
"verificar si hay errores."
225228

226229
#:../Doc/c-api/complex.rst:135../Doc/c-api/complex.rst:151
227-
#,fuzzy
228230
msgid"Use :meth:`~object.__complex__` if available."
229-
msgstr"Use :meth:`__index__` si está disponible."
231+
msgstr"Use :meth:`~object.__complex__` si está disponible."
230232

231233
#:../Doc/c-api/complex.rst:140
232-
#,fuzzy
233234
msgid"Return the imaginary part of *op* as a C :c:expr:`double`."
234-
msgstr"Retorna la parte imaginaria de *op* como un :c:type:`double` de C."
235+
msgstr"Retorna la parte imaginaria de *op* como un :c:expr:`double` de C."
235236

236237
#:../Doc/c-api/complex.rst:142
237-
#,fuzzy
238238
msgid""
239239
"If *op* is not a Python complex number object but has a :meth:`~object."
240240
"__complex__` method, this method will first be called to convert *op* to a "
@@ -243,18 +243,16 @@ msgid ""
243243
"success."
244244
msgstr""
245245
"Si *op* no es un objeto de número complejo de Python pero tiene un método :"
246-
"meth:`__complex__`, primero se llamará a este método para convertir *op* en "
247-
"un objeto de número complejo de Python. Si ``__complex__()`` no está "
248-
"definido, vuelve a :meth:`__float__`. Si ``__float__()`` no está definido, "
249-
"entonces recurre a :meth:`__index__`. En caso de falla, este método retorna "
250-
"``-1.0`` como un valor real."
246+
"meth:`~object.__complex__`, primero se llamará a este método para convertir "
247+
"*op* en un objeto de número complejo de Python. Si :meth:`!__complex__` no "
248+
"está definido, entonces recurre a :c:func:`PyFloat_AsDouble` y retorna "
249+
"``0.0`` en caso de éxito."
251250

252251
#:../Doc/c-api/complex.rst:156
253252
msgid"Return the :c:type:`Py_complex` value of the complex number *op*."
254253
msgstr"Retorna el valor :c:type:`Py_complex` del número complejo *op*."
255254

256255
#:../Doc/c-api/complex.rst:158
257-
#,fuzzy
258256
msgid""
259257
"If *op* is not a Python complex number object but has a :meth:`~object."
260258
"__complex__` method, this method will first be called to convert *op* to a "
@@ -263,29 +261,30 @@ msgid ""
263261
"defined then it falls back to :meth:`~object.__index__`."
264262
msgstr""
265263
"Si *op* no es un objeto de número complejo de Python pero tiene un método :"
266-
"meth:`__complex__`, primero se llamará a este método para convertir *op* en "
267-
"un objeto de número complejo de Python. Si ``__complex__()`` no está "
268-
"definido, vuelve a :meth:`__float__`. Si ``__float__()`` no está definido, "
269-
"entonces recurre a :meth:`__index__`. En caso de falla, este método retorna "
270-
"``-1.0`` como un valor real."
264+
"meth:`~object.__complex__`, primero se llamará a este método para convertir "
265+
"*op* en un objeto de número complejo de Python. Si :meth:`!__complex__` no "
266+
"está definido, entonces recurre a :meth:`~object.__float__`. Si :meth:`!"
267+
"__float__` no está definido, entonces recurre a :meth:`~object.__index__`."
271268

272269
#:../Doc/c-api/complex.rst:164
273270
msgid""
274271
"Upon failure, this method returns :c:type:`Py_complex` with :c:member:"
275272
"`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should "
276273
"call :c:func:`PyErr_Occurred` to check for errors."
277274
msgstr""
275+
"En caso de falla, este método retorna :c:type:`Py_complex` con :c:member:"
276+
"`~Py_complex.real` establecido en ``-1.0`` y con una excepción establecida, "
277+
"por lo que se debe llamar a :c:func:`PyErr_Occurred` para verificar si hay "
278+
"errores."
278279

279280
#:../Doc/c-api/complex.rst:168
280-
#,fuzzy
281281
msgid"Use :meth:`~object.__index__` if available."
282-
msgstr"Use :meth:`__index__` si está disponible."
282+
msgstr"Use :meth:`~object.__index__` si está disponible."
283283

284284
#:../Doc/c-api/complex.rst:8
285285
msgid"object"
286-
msgstr""
286+
msgstr"object"
287287

288288
#:../Doc/c-api/complex.rst:8
289-
#,fuzzy
290289
msgid"complex number"
291-
msgstr"Objetos de números complejos"
290+
msgstr"complex number"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp