@@ -24,7 +24,8 @@ msgstr ""
24
24
25
25
#: ../Doc/library/fileinput.rst:2
26
26
msgid ":mod:`fileinput` --- Iterate over lines from multiple input streams"
27
- msgstr ":mod:`fileinput` --- Iterar sobre líneas de múltiples flujos de entrada"
27
+ msgstr ""
28
+ ":mod:`fileinput` --- Iterar sobre líneas de múltiples flujos de entrada"
28
29
29
30
#: ../Doc/library/fileinput.rst:10
30
31
msgid "**Source code:** :source:`Lib/fileinput.py`"
@@ -33,8 +34,8 @@ msgstr "**Código fuente:** :source:`Lib/fileinput.py`"
33
34
#: ../Doc/library/fileinput.rst:14
34
35
msgid ""
35
36
"This module implements a helper class and functions to quickly write a loop "
36
- "over standard input or a list of files. If you just want to read or write one "
37
- "file see :func:`open`."
37
+ "over standard input or a list of files. If you just want to read or write "
38
+ "one file see :func:`open`."
38
39
msgstr ""
39
40
"Este módulo implementa una clase auxiliar y funciones para escribir "
40
41
"rápidamente un bucle sobre una entrada estándar o una lista de archivos. Si "
@@ -49,8 +50,9 @@ msgid ""
49
50
"This iterates over the lines of all files listed in ``sys.argv[1:]``, "
50
51
"defaulting to ``sys.stdin`` if the list is empty. If a filename is ``'-'``, "
51
52
"it is also replaced by ``sys.stdin`` and the optional arguments *mode* and "
52
- "*openhook* are ignored. To specify an alternative list of filenames, pass it "
53
- "as the first argument to :func:`.input`. A single file name is also allowed."
53
+ "*openhook* are ignored. To specify an alternative list of filenames, pass "
54
+ "it as the first argument to :func:`.input`. A single file name is also "
55
+ "allowed."
54
56
msgstr ""
55
57
"Esto itera sobre las líneas de todos los archivos enumerados en ``sys."
56
58
"argv[1:]``, por defecto a ``sys.stdin``si la lista está vacía. Si un nombre "
@@ -88,12 +90,12 @@ msgstr ""
88
90
#: ../Doc/library/fileinput.rst:42
89
91
msgid ""
90
92
"Empty files are opened and immediately closed; the only time their presence "
91
- "in the list of filenames is noticeable at all is when the last file opened is "
92
- "empty."
93
+ "in the list of filenames is noticeable at all is when the last file opened "
94
+ "is empty."
93
95
msgstr ""
94
- "Los archivos vacíos se abren e inmediatamente se cierran; la única vez que su "
95
- "presencia en la lista de nombres de archivo es notable es cuando el último "
96
- "archivo abierto está vacío."
96
+ "Los archivos vacíos se abren e inmediatamente se cierran; la única vez que "
97
+ "su presencia en la lista de nombres de archivo es notable es cuando el "
98
+ "último archivo abierto está vacío."
97
99
98
100
#: ../Doc/library/fileinput.rst:46
99
101
msgid ""
@@ -108,17 +110,17 @@ msgid ""
108
110
"You can control how files are opened by providing an opening hook via the "
109
111
"*openhook* parameter to :func:`fileinput.input` or :class:`FileInput()`. The "
110
112
"hook must be a function that takes two arguments, *filename* and *mode*, and "
111
- "returns an accordingly opened file-like object. If *encoding* and/or *errors* "
112
- "are specified, they will be passed to the hook as additional keyword "
113
- "arguments. This module provides a :func:`hook_compressed` to support "
113
+ "returns an accordingly opened file-like object. If *encoding* and/or "
114
+ "*errors* are specified, they will be passed to the hook as additional "
115
+ "keyword arguments. This module provides a :func:`hook_compressed` to support "
114
116
"compressed files."
115
117
msgstr ""
116
118
"Puede controlar cómo se abren los archivos proporcionando un enlace de "
117
- "apertura a través del parámetro *openhook* a :func:`fileinput.input` o :class: "
118
- "`FileInput()`. El enlace debe ser una función que tome dos argumentos, "
119
- "*filename* y *mode*, y en consecuencia retorna un objeto similar a un archivo "
120
- "abierto. Si *encoding* y/o *errors* son especificados, serán pasados al "
121
- "enlace como argumentos de palabras clave adicionales. Este módulo "
119
+ "apertura a través del parámetro *openhook* a :func:`fileinput.input` o :"
120
+ "class: `FileInput()`. El enlace debe ser una función que tome dos argumentos, "
121
+ "*filename* y *mode*, y en consecuencia retorna un objeto similar a un "
122
+ "archivo abierto. Si *encoding* y/o *errors* son especificados, serán pasados "
123
+ "al enlace como argumentos de palabras clave adicionales. Este módulo "
122
124
"proporciona :func:`hook_compressed` para admitir archivos comprimidos."
123
125
124
126
#: ../Doc/library/fileinput.rst:56
@@ -132,9 +134,9 @@ msgid ""
132
134
"to use during iteration. The parameters to this function will be passed "
133
135
"along to the constructor of the :class:`FileInput` class."
134
136
msgstr ""
135
- "Crea una instancia de la clase :class:`FileInput`. La instancia se usará como "
136
- "estado global para las funciones de este módulo y también se volverá a usar "
137
- "durante la iteración. Los parámetros de esta función se pasarán al "
137
+ "Crea una instancia de la clase :class:`FileInput`. La instancia se usará "
138
+ "como estado global para las funciones de este módulo y también se volverá a "
139
+ "usar durante la iteración. Los parámetros de esta función se pasarán al "
138
140
"constructor de la clase :class:`FileInput`."
139
141
140
142
#: ../Doc/library/fileinput.rst:66
@@ -162,7 +164,8 @@ msgstr ""
162
164
#: ../Doc/library/fileinput.rst:213
163
165
msgid "The keyword-only parameter *encoding* and *errors* are added."
164
166
msgstr ""
165
- "Los parámetros exclusivos de palabra clave *encoding* y *errors* son añadidos."
167
+ "Los parámetros exclusivos de palabra clave *encoding* y *errors* son "
168
+ "añadidos."
166
169
167
170
#: ../Doc/library/fileinput.rst:84
168
171
msgid ""
@@ -240,8 +243,8 @@ msgstr ""
240
243
"contarán para el recuento de líneas acumuladas. El nombre del archivo no se "
241
244
"cambia hasta que se haya leído la primera línea del siguiente archivo. Antes "
242
245
"de que se haya leído la primera línea, esta función no tiene efecto; no se "
243
- "puede usar para omitir el primer archivo. Después de leer la última línea del "
244
- "último archivo, esta función no tiene efecto."
246
+ "puede usar para omitir el primer archivo. Después de leer la última línea "
247
+ "del último archivo, esta función no tiene efecto."
245
248
246
249
#: ../Doc/library/fileinput.rst:138
247
250
msgid "Close the sequence."
@@ -259,12 +262,12 @@ msgstr ""
259
262
msgid ""
260
263
"Class :class:`FileInput` is the implementation; its methods :meth:"
261
264
"`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:"
262
- "`isfirstline`, :meth:`isstdin`, :meth:`nextfile` and :meth:`close` correspond "
263
- "to the functions of the same name in the module. In addition it has a :meth: "
264
- "`~io.TextIOBase.readline` method which returns the next input line, and a : "
265
- "meth:`__getitem__` method which implements the sequence behavior. The "
266
- "sequence must be accessed in strictly sequential order; random access and : "
267
- "meth:`~io.TextIOBase.readline` cannot be mixed."
265
+ "`isfirstline`, :meth:`isstdin`, :meth:`nextfile` and :meth:`close` "
266
+ "correspond to the functions of the same name in the module. In addition it "
267
+ "has a :meth: `~io.TextIOBase.readline` method which returns the next input "
268
+ "line, and a : meth:`__getitem__` method which implements the sequence "
269
+ "behavior. The sequence must be accessed in strictly sequential order; random "
270
+ "access and : meth:`~io.TextIOBase.readline` cannot be mixed."
268
271
msgstr ""
269
272
"La Clase :class:`FileInput` es la implementación; sus métodos :meth:"
270
273
"`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:"
@@ -333,10 +336,10 @@ msgid ""
333
336
"input file (if a file of the same name as the backup file already exists, it "
334
337
"will be replaced silently). This makes it possible to write a filter that "
335
338
"rewrites its input file in place. If the *backup* parameter is given "
336
- "(typically as ``backup='.<some extension>'``), it specifies the extension for "
337
- "the backup file, and the backup file remains around; by default, the "
338
- "extension is ``'.bak'`` and it is deleted when the output file is closed. In- "
339
- "place filtering is disabled when standard input is read."
339
+ "(typically as ``backup='.<some extension>'``), it specifies the extension "
340
+ "for the backup file, and the backup file remains around; by default, the "
341
+ "extension is ``'.bak'`` and it is deleted when the output file is closed. "
342
+ "In- place filtering is disabled when standard input is read."
340
343
msgstr ""
341
344
"**Filtrado al instante opcional:** si el argumento de la palabra clave "
342
345
"``inplace=True`` se pasa a :func:`fileinput.input` o al constructor :class:"
@@ -364,9 +367,9 @@ msgid ""
364
367
msgstr ""
365
368
"Abre de forma transparente archivos comprimidos con *gzip* y *bzip2* "
366
369
"(reconocidos por las extensiones ``'.gz'`` and ``'.bz2'``) utilizando los "
367
- "módulos :mod:`gzip` y :mod:`bz2`. Si la extensión del nombre de archivo no es "
368
- "``'.gz'`` or ``'.bz2'``, el archivo se abre normalmente (es decir, usando : "
369
- "func:`open` sin descompresión)."
370
+ "módulos :mod:`gzip` y :mod:`bz2`. Si la extensión del nombre de archivo no "
371
+ "es ``'.gz'`` or ``'.bz2'``, el archivo se abre normalmente (es decir, "
372
+ "usando : func:`open` sin descompresión)."
370
373
371
374
#: ../Doc/library/fileinput.rst:208
372
375
msgid ""
0 commit comments