Skip to content

Commit ee72c14

Browse files
committed
completed float
1 parent af08197 commit ee72c14

File tree

2 files changed

+35
-9
lines changed

2 files changed

+35
-9
lines changed

dict

+3-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ Cookbook
2424
Cython
2525
FLTK
2626
Fibonacci
27-
Fibonacci
28-
Fibonacci
2927
Finder
3028
Flags
3129
Flying
32-
Flying
3330
Fortran
3431
Foundation
3532
Fourier
@@ -42,7 +39,7 @@ Henstridge
4239
Hugunin
4340
I
4441
Index
45-
Index
42+
Inf
4643
Interesantemente
4744
Java
4845
Jim
@@ -60,6 +57,7 @@ Mark
6057
Microsoft
6158
Mitch
6259
Monty
60+
NaN
6361
NumPy
6462
Numerical
6563
Olsen
@@ -187,6 +185,7 @@ indentada
187185
indentado
188186
indentando
189187
indexables
188+
inf
190189
inicializa
191190
inicialización
192191
inicializada

library/functions.po

+32-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-07 14:37+0200\n"
14-
"PO-Revision-Date: 2020-05-13 20:14+0200\n"
14+
"PO-Revision-Date: 2020-05-13 20:45+0200\n"
1515
"Last-Translator: \n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-esMIME-Version: 1.0\n"
@@ -1047,8 +1047,12 @@ msgstr ""
10471047
#: ../Doc/library/functions.rst:574
10481048
msgid "Return a floating point number constructed from a number or string *x*."
10491049
msgstr ""
1050+
"Devuelve un número de punto flotante construido a partir de un número o una "
1051+
"cadena *x*."
10501052

1053+
# no estoy segura de si debo traducir not-a-number
10511054
#: ../Doc/library/functions.rst:576
1055+
#, fuzzy
10521056
msgid ""
10531057
"If the argument is a string, it should contain a decimal number, optionally "
10541058
"preceded by a sign, and optionally embedded in whitespace. The optional "
@@ -1058,14 +1062,29 @@ msgid ""
10581062
"conform to the following grammar after leading and trailing whitespace "
10591063
"characters are removed:"
10601064
msgstr ""
1065+
"Si el argumento es una cadena, debe contener un número decimal, "
1066+
"opcionalmente precedido de un signo, y opcionalmente entre espacios en "
1067+
"blanco. El signo opcional puede ser ``’+’`` o ``’-‘``; un signo ``’+’`` no "
1068+
"tiene efecto en el valor producido. El argumento puede ser también una "
1069+
"cadena representando un NaN (no es un número), o un infinito positivo o "
1070+
"negativo. Más concretamente, el argumento debe adecuarse a la siguiente "
1071+
"gramática una vez eliminados de la cadena los caracteres en blanco por "
1072+
"delante o detrás:"
10611073

1074+
# case-sensitive es un termino muy sucinto en inglés yo he puesto como creo que se entiende
10621075
#: ../Doc/library/functions.rst:591
1076+
#, fuzzy
10631077
msgid ""
10641078
"Here ``floatnumber`` is the form of a Python floating-point literal, "
10651079
"described in :ref:`floating`. Case is not significant, so, for example, "
10661080
"\"inf\", \"Inf\", \"INFINITY\" and \"iNfINity\" are all acceptable spellings "
10671081
"for positive infinity."
10681082
msgstr ""
1083+
"Aquí ``floatnumber`` es el formato de un literal de punto flotante de "
1084+
"Python, tal y como está descrito en :ref:`floating`. No es relevante si los "
1085+
"caracteres son mayúsculas o minúsculas, de forma que “inf”, “Inf”, "
1086+
"“INFINITY” e “iNfINity” son todas formas aceptables de escribir el infinito "
1087+
"positivo."
10691088

10701089
#: ../Doc/library/functions.rst:596
10711090
msgid ""
@@ -1074,29 +1093,37 @@ msgid ""
10741093
"precision) is returned. If the argument is outside the range of a Python "
10751094
"float, an :exc:`OverflowError` will be raised."
10761095
msgstr ""
1096+
"Sino, en caso de que el argumento sea un entero o un decimal de punto "
1097+
"flotante, se devuelve un número de punto flotante del mismo valor (dentro de "
1098+
"la precisión de punto flotante de Python). Si el argumento está fuera del "
1099+
"rango de un punto flotante de Python, se generará una excepción :exc:"
1100+
"`OverflowError` "
10771101

10781102
#: ../Doc/library/functions.rst:601
10791103
msgid ""
10801104
"For a general Python object ``x``, ``float(x)`` delegates to ``x."
10811105
"__float__()``. If ``__float__()`` is not defined then it falls back to :"
10821106
"meth:`__index__`."
10831107
msgstr ""
1108+
"Para el objeto general de Python ``x``, ``float(x)`` delega a ``x."
1109+
"__float__()``. Si ``__float__()`` no está definido entonces recurre a :meth:"
1110+
"`__index__`."
10841111

10851112
#: ../Doc/library/functions.rst:605
10861113
msgid "If no argument is given, ``0.0`` is returned."
1087-
msgstr ""
1114+
msgstr "Si no se le da un argumento, devuelve ``0.0``."
10881115

10891116
#: ../Doc/library/functions.rst:607
10901117
msgid "Examples::"
1091-
msgstr ""
1118+
msgstr "Ejemplos::"
10921119

10931120
#: ../Doc/library/functions.rst:620
10941121
msgid "The float type is described in :ref:`typesnumeric`."
1095-
msgstr ""
1122+
msgstr "El tipo float está descrito en :ref:`typesnumeric`."
10961123

10971124
#: ../Doc/library/functions.rst:628
10981125
msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined."
1099-
msgstr ""
1126+
msgstr "Recurre a :meth:`__index__` si :meth:`__float__` no está definido."
11001127

11011128
#: ../Doc/library/functions.rst:638
11021129
msgid ""

0 commit comments

Comments
 (0)