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

Commit85d2af6

Browse files
committed
included len,iter and a few little things
1 parent107b94c commit85d2af6

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

‎library/functions.po

Lines changed: 30 additions & 11 deletions
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-2312:59+0200\n"
14+
"PO-Revision-Date:2020-05-2313:46+0200\n"
1515
"Last-Translator:\n"
1616
"Language:es\n"
1717
"Language-Team:python-doc-esMIME-Version: 1.0\n"
@@ -1715,6 +1715,18 @@ msgid ""
17151715
"__next__` method; if the value returned is equal to *sentinel*, :exc:"
17161716
"`StopIteration` will be raised, otherwise the value will be returned."
17171717
msgstr""
1718+
"Devuelve un objeto :term:`iterator`. El primer argumento se interpreta de "
1719+
"forma muy diferente en función de la presencia del segundo. Sin un segundo "
1720+
"argumento, *object* debe ser un objeto *collection* que soporte el protocolo "
1721+
"de iteración (el método :meth:`__iter__`), o debe soportar el protocolo de "
1722+
"secuencia (el método :meth:`__getitem__` con argumentos enteros comenzando "
1723+
"en ``0``). Si no soporta ninguno de esos protocolos, se lanza una "
1724+
"excepción :exc:`TypeError`. Si el segundo argumento, *sentinel*, es "
1725+
"indicado, entonces *object* debe ser un objeto invocable. El iterador "
1726+
"creado en ese caso llamará a *object* sin argumentos para cada invocación a "
1727+
"su método :meth:`~iterator.__next__` ; si el valor retornado es igual a "
1728+
"*sentinel*, una :exc:`StopIteration` será lanzada, de lo contrario el valor "
1729+
"será retornado."
17181730

17191731
#:../Doc/library/functions.rst:875
17201732
msgid"See also :ref:`typeiter`."
@@ -1726,13 +1738,20 @@ msgid ""
17261738
"block-reader. For example, reading fixed-width blocks from a binary database "
17271739
"file until the end of file is reached::"
17281740
msgstr""
1741+
"Una aplicación muy útil de la segunda forma de :func:`iter` es la "
1742+
"construcción de un lector de bloques. Por ejemplo, leer bloques de ancho "
1743+
"fijo de una base de datos binaria hasta que el fin del fichero sea "
1744+
"alcanzado::"
17291745

17301746
#:../Doc/library/functions.rst:889
17311747
msgid""
17321748
"Return the length (the number of items) of an object. The argument may be a "
17331749
"sequence (such as a string, bytes, tuple, list, or range) or a collection "
17341750
"(such as a dictionary, set, or frozen set)."
17351751
msgstr""
1752+
"Devuelve el tamaño (el número de elementos) de un objeto. El argumento puede "
1753+
"ser una secuencia (como una cadena, un objeto byte, una tupla, lista o "
1754+
"rango) o una colección (como un diccionario, un set o un *frozen set*)."
17361755

17371756
#:../Doc/library/functions.rst:898
17381757
msgid""
@@ -1796,11 +1815,11 @@ msgstr ""
17961815

17971816
#:../Doc/library/functions.rst:945../Doc/library/functions.rst:982
17981817
msgid"The *default* keyword-only argument."
1799-
msgstr""
1818+
msgstr"El argumento *default* sólo por palabra clave."
18001819

18011820
#:../Doc/library/functions.rst:948../Doc/library/functions.rst:985
18021821
msgid"The *key* can be ``None``."
1803-
msgstr""
1822+
msgstr"*key* puede ser ``None``."
18041823

18051824
#:../Doc/library/functions.rst:956
18061825
msgid""
@@ -1913,55 +1932,55 @@ msgstr "``’r’``"
19131932

19141933
#:../Doc/library/functions.rst:1065
19151934
msgid"open for reading (default)"
1916-
msgstr""
1935+
msgstr"abierto para lectura (por defecto)"
19171936

19181937
#:../Doc/library/functions.rst:1066
19191938
msgid"``'w'``"
19201939
msgstr"``’w’``"
19211940

19221941
#:../Doc/library/functions.rst:1066
19231942
msgid"open for writing, truncating the file first"
1924-
msgstr""
1943+
msgstr"abierto para estructura, truncando primero el fichero"
19251944

19261945
#:../Doc/library/functions.rst:1067
19271946
msgid"``'x'``"
1928-
msgstr""
1947+
msgstr"``'x'``"
19291948

19301949
#:../Doc/library/functions.rst:1067
19311950
msgid"open for exclusive creation, failing if the file already exists"
1932-
msgstr""
1951+
msgstr"abierto para creación en exclusiva, falla si el fichero ya existe"
19331952

19341953
#:../Doc/library/functions.rst:1068
19351954
msgid"``'a'``"
19361955
msgstr"``’a’``"
19371956

19381957
#:../Doc/library/functions.rst:1068
19391958
msgid"open for writing, appending to the end of the file if it exists"
1940-
msgstr""
1959+
msgstr"abierto para escritura, añadiendo al final del fichero si este existe"
19411960

19421961
#:../Doc/library/functions.rst:1069
19431962
msgid"``'b'``"
19441963
msgstr"``’b’``"
19451964

19461965
#:../Doc/library/functions.rst:1069
19471966
msgid"binary mode"
1948-
msgstr""
1967+
msgstr"modo binario"
19491968

19501969
#:../Doc/library/functions.rst:1070
19511970
msgid"``'t'``"
19521971
msgstr"``’t’``"
19531972

19541973
#:../Doc/library/functions.rst:1070
19551974
msgid"text mode (default)"
1956-
msgstr""
1975+
msgstr"modo texto (por defecto)"
19571976

19581977
#:../Doc/library/functions.rst:1071
19591978
msgid"``'+'``"
19601979
msgstr"``’+’``"
19611980

19621981
#:../Doc/library/functions.rst:1071
19631982
msgid"open for updating (reading and writing)"
1964-
msgstr""
1983+
msgstr"abierto para actualizar (lectura y escritura)"
19651984

19661985
#:../Doc/library/functions.rst:1074
19671986
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp