@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2020-05-07 14:37+0200\n "
14
- "PO-Revision-Date : 2020-05-23 18:42 +0200\n "
14
+ "PO-Revision-Date : 2020-05-23 21:49 +0200\n "
15
15
"Last-Translator : \n "
16
16
"Language : es\n "
17
17
"Language-Team : python-doc-esMIME-Version: 1.0\n "
@@ -1826,6 +1826,11 @@ msgid ""
1826
1826
"empty. If the iterable is empty and *default* is not provided, a :exc:"
1827
1827
"`ValueError` is raised."
1828
1828
msgstr ""
1829
+ "Hay dos argumentos de solo palabra clave que son opcionales. El argumento "
1830
+ "*key* especifica una función de ordenación de un sólo argumento, como la "
1831
+ "usada para :meth:`list.sort`. El argumento *default* especifica un objeto a "
1832
+ "devolver si el iterable proporcionado está vacío. Si el iterable está vacío "
1833
+ "y *default* no ha sido indicado, se lanza un :exc:`ValueError`."
1829
1834
1830
1835
#: ../Doc/library/functions.rst:940
1831
1836
msgid ""
@@ -1834,6 +1839,11 @@ msgid ""
1834
1839
"such as ``sorted(iterable, key=keyfunc, reverse=True)[0]`` and ``heapq."
1835
1840
"nlargest(1, iterable, key=keyfunc)``."
1836
1841
msgstr ""
1842
+ "Si hay múltiples elementos con el valor máximo, la función devuelve el "
1843
+ "primero que ha encontrado. Esto es consistente con otras herramientas para "
1844
+ "preservar la estabilidad de la ordenación como ``sorted(iterable, "
1845
+ "key=keyfunc, reverse=True)[0]`` y ``heapq.nlargest(1, iterable, "
1846
+ "key=keyfunc)``."
1837
1847
1838
1848
#: ../Doc/library/functions.rst:945 ../Doc/library/functions.rst:982
1839
1849
msgid "The *default* keyword-only argument."
@@ -1848,19 +1858,26 @@ msgid ""
1848
1858
"Return a \" memory view\" object created from the given argument. See :ref:"
1849
1859
"`typememoryview` for more information."
1850
1860
msgstr ""
1861
+ "Devuelve un objeto *\" memory view\" * creado a partir del argumento indicado. "
1862
+ "Para más información ver :ref:`typememoryview`."
1851
1863
1852
1864
#: ../Doc/library/functions.rst:963
1853
1865
msgid ""
1854
1866
"Return the smallest item in an iterable or the smallest of two or more "
1855
1867
"arguments."
1856
1868
msgstr ""
1869
+ "Devuelve el menor elemento en un iterable o el menor de dos o más argumentos."
1857
1870
1858
1871
#: ../Doc/library/functions.rst:966
1859
1872
msgid ""
1860
1873
"If one positional argument is provided, it should be an :term:`iterable`. "
1861
1874
"The smallest item in the iterable is returned. If two or more positional "
1862
1875
"arguments are provided, the smallest of the positional arguments is returned."
1863
1876
msgstr ""
1877
+ "Si se le indica un argumento posicional, debe ser un :term:`iterable`. El "
1878
+ "menor elemento del iterable es devuelto. Si dos o más argumentos "
1879
+ "posicionales son indicados, el menor de los argumentos posicionales es "
1880
+ "devuelto."
1864
1881
1865
1882
#: ../Doc/library/functions.rst:977
1866
1883
msgid ""
@@ -1869,26 +1886,38 @@ msgid ""
1869
1886
"such as ``sorted(iterable, key=keyfunc)[0]`` and ``heapq.nsmallest(1, "
1870
1887
"iterable, key=keyfunc)``."
1871
1888
msgstr ""
1889
+ "Si hay múltiples elementos con el valor mínimo, la función devuelve el "
1890
+ "primero que encuentra. Esto es consistente con otras herramientas que "
1891
+ "preservan la estabilidad de la ordenación como ``sorted(iterable, "
1892
+ "key=keyfunc)[0]`` y ``heapq.nsmallest(1, iterable, key=keyfunc)``."
1872
1893
1873
1894
#: ../Doc/library/functions.rst:991
1874
1895
msgid ""
1875
1896
"Retrieve the next item from the *iterator* by calling its :meth:`~iterator."
1876
1897
"__next__` method. If *default* is given, it is returned if the iterator is "
1877
1898
"exhausted, otherwise :exc:`StopIteration` is raised."
1878
1899
msgstr ""
1900
+ "Extrae el siguiente elemento de *iterator* llamando a su método :meth:"
1901
+ "`~iterator.__next__`. Si se le indica *default*, éste será devuelto si se "
1902
+ "agota el iterador, de lo contrario, se lanza un :exc:`StopIteration`."
1879
1903
1880
1904
#: ../Doc/library/functions.rst:998
1881
1905
msgid ""
1882
1906
"Return a new featureless object. :class:`object` is a base for all classes. "
1883
1907
"It has the methods that are common to all instances of Python classes. This "
1884
1908
"function does not accept any arguments."
1885
1909
msgstr ""
1910
+ "Devuelve un nuevo objeto indiferenciado. :class:`object` es la base de todas "
1911
+ "las clases. Tiene todos los métodos que son comunes a todas las instancias "
1912
+ "de clases de Python. Esta función no acepta ningún argumento."
1886
1913
1887
1914
#: ../Doc/library/functions.rst:1004
1888
1915
msgid ""
1889
1916
":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't "
1890
1917
"assign arbitrary attributes to an instance of the :class:`object` class."
1891
1918
msgstr ""
1919
+ ":class:`object` *no* tiene un :attr:`~object.__dict__`, así que no puedes "
1920
+ "asignar atributos arbitrarios a una instancia de la clase :class:`object`."
1892
1921
1893
1922
#: ../Doc/library/functions.rst:1010
1894
1923
msgid ""
@@ -1897,12 +1926,18 @@ msgid ""
1897
1926
"object, it has to define an :meth:`__index__` method that returns an "
1898
1927
"integer. For example:"
1899
1928
msgstr ""
1929
+ "Convierte un número entero a una cadena octal con prefijo \" 0o\" . El "
1930
+ "resultado es una expresión válida de Python. Si *x* no es un objeto de la "
1931
+ "clase Python :class:`int`, tiene que tener definido un método :meth:"
1932
+ "`__index__` que devuelva un entero. Por ejemplo:"
1900
1933
1901
1934
#: ../Doc/library/functions.rst:1020
1902
1935
msgid ""
1903
1936
"If you want to convert an integer number to octal string either with prefix "
1904
1937
"\" 0o\" or not, you can use either of the following ways."
1905
1938
msgstr ""
1939
+ "Si quieres convertir un número entero a una cadena octal, tanto con prefijo "
1940
+ "\" 0o\" como sin el, puedes usar cualquiera de las siguientes formas:"
1906
1941
1907
1942
#: ../Doc/library/functions.rst:1037
1908
1943
msgid ""
0 commit comments