@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/fileinput.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!fileinput` --- Iterate over lines from multiple input streams"
22
- msgstr ":mod:`fileinput` --- 여러 입력 스트림에서 줄을 이터레이트 하기"
21
+ msgstr ":mod:`! fileinput` --- 여러 입력 스트림에서 줄을 이터레이트 하기"
23
22
24
23
#: ../../library/fileinput.rst:10
25
24
msgid "**Source code:** :source:`Lib/fileinput.py`"
@@ -44,6 +43,9 @@ msgid ""
44
43
"for line in fileinput.input(encoding=\" utf-8\" ):\n"
45
44
" process(line)"
46
45
msgstr ""
46
+ "import fileinput\n"
47
+ "for line in fileinput.input(encoding=\" utf-8\" ):\n"
48
+ " process(line)"
47
49
48
50
#: ../../library/fileinput.rst:24
49
51
msgid ""
@@ -97,7 +99,6 @@ msgid ""
97
99
msgstr "줄은 줄 바꿈이 그대로 유지된 채로 반환됩니다. 즉, 파일의 마지막 줄에는 줄 바꿈이 없을 수도 있습니다."
98
100
99
101
#: ../../library/fileinput.rst:49
100
- #, fuzzy
101
102
msgid ""
102
103
"You can control how files are opened by providing an opening hook via the"
103
104
" *openhook* parameter to :func:`fileinput.input` or :func:`FileInput`. "
@@ -107,9 +108,10 @@ msgid ""
107
108
"additional keyword arguments. This module provides a "
108
109
":func:`hook_compressed` to support compressed files."
109
110
msgstr ""
110
- ":func:`fileinput.input`\\ 이나 :class:`FileInput()`\\ 의 *openhook* 매개 변수를 통해 "
111
- "열기 훅을 제공하여 파일을 여는 방법을 제어할 수 있습니다. 훅은 두 개의 인자 *filename*\\ 과 *mode*\\ 를 취하고,"
112
- " 그에 따라 열린 파일류 객체를 반환하는 함수여야 합니다. 이 모듈에는 두 가지 유용한 훅이 이미 제공됩니다."
111
+ ":func:`fileinput.input`\\ 이나 :func:`FileInput`\\ 의 *openhook* 매개 변수를 통해 열기 "
112
+ "훅을 제공하여 파일을 여는 방법을 제어할 수 있습니다. 훅은 두 개의 인자 *filename*\\ 과 *mode*\\ 를 취하고, 그에"
113
+ " 따라 열린 파일류 객체를 반환하는 함수여야 합니다. *encoding* 및/또는 *errors*\\ 가 지정되면, 추가 키워드 "
114
+ "인자로 훅에 전달됩니다. 이 모듈은 압축 파일을 지원하기 위해 :func:`hook_compressed`\\ 를 제공합니다."
113
115
114
116
#: ../../library/fileinput.rst:56
115
117
msgid "The following function is the primary interface of this module:"
@@ -141,6 +143,10 @@ msgid ""
141
143
" for line in f:\n"
142
144
" process(line)"
143
145
msgstr ""
146
+ "with fileinput.input(files=('spam.txt', 'eggs.txt'), encoding=\" utf-8\" ) "
147
+ "as f:\n"
148
+ " for line in f:\n"
149
+ " process(line)"
144
150
145
151
#: ../../library/fileinput.rst:74 ../../library/fileinput.rst:170
146
152
msgid "Can be used as a context manager."
@@ -153,7 +159,7 @@ msgstr "키워드 매개 변수 *mode*\\와 *openhook*\\은 이제 키워드 전
153
159
#: ../../library/fileinput.rst:80 ../../library/fileinput.rst:176
154
160
#: ../../library/fileinput.rst:210
155
161
msgid "The keyword-only parameter *encoding* and *errors* are added."
156
- msgstr ""
162
+ msgstr "키워드 전용 매개 변수 *encoding* 와 *errors* \\ 를 추가했습니다. "
157
163
158
164
#: ../../library/fileinput.rst:84
159
165
msgid ""
@@ -234,7 +240,6 @@ msgid ""
234
240
msgstr "모듈이 제공하는 시퀀스 동작을 구현하는 클래스는 서브 클래싱에도 사용할 수 있습니다:"
235
241
236
242
#: ../../library/fileinput.rst:146
237
- #, fuzzy
238
243
msgid ""
239
244
"Class :class:`FileInput` is the implementation; its methods "
240
245
":meth:`filename`, :meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, "
@@ -247,19 +252,18 @@ msgid ""
247
252
msgstr ""
248
253
":class:`FileInput` 클래스는 구현입니다; 그 메서드 :meth:`filename`, :meth:`fileno`, "
249
254
":meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`, :meth:`isstdin`,"
250
- " :meth:`nextfile` 및 :meth:`close`\\ 는 모듈에 있는 같은 이름의 함수에 해당합니다. 또한 다음 입력 줄을 "
251
- " 반환하는 :meth:`~io.TextIOBase.readline` 메서드와 시퀀스 동작을 구현하는 "
252
- ":meth:`__getitem__ ` 메서드가 있습니다. 시퀀스는 엄격하게 순차적으로 액세스해야 합니다; 무작위 액세스와 "
253
- ":meth:`~io.TextIOBase.readline`\\ 은 혼합될 수 없습니다."
255
+ " :meth:`nextfile` 및 :meth:`close`\\ 는 모듈에 있는 같은 이름의 함수에 해당합니다. 또한 "
256
+ ":term:`이터러블 <iterable>` \\ 이고, 다음 입력 줄을 반환하는 "
257
+ ":meth:`~io.TextIOBase.readline ` 메서드가 있습니다. 시퀀스는 엄격하게 순차적으로 액세스해야 합니다; 무작위"
258
+ " 액세스와 :meth:`~io.TextIOBase.readline`\\ 은 혼합될 수 없습니다."
254
259
255
260
#: ../../library/fileinput.rst:154
256
- #, fuzzy
257
261
msgid ""
258
262
"With *mode* you can specify which file mode will be passed to "
259
263
":func:`open`. It must be one of ``'r'`` and ``'rb'``."
260
264
msgstr ""
261
- "*mode*\\ 로 :func:`open`\\ 에 전달할 파일 모드를 지정할 수 있습니다. ``'r'``, ``'rU '``, "
262
- "``'U'`` 및 ``'rb'`` 중 하나여야 합니다."
265
+ "*mode*\\ 로 :func:`open`\\ 에 전달할 파일 모드를 지정할 수 있습니다. ``'r'`` 과 ``'rb '`` 중 "
266
+ "하나여야 합니다."
263
267
264
268
#: ../../library/fileinput.rst:157
265
269
msgid ""
@@ -290,6 +294,8 @@ msgid ""
290
294
"with FileInput(files=('spam.txt', 'eggs.txt')) as input:\n"
291
295
" process(input)"
292
296
msgstr ""
297
+ "with FileInput(files=('spam.txt', 'eggs.txt')) as input:\n"
298
+ " process(input)"
293
299
294
300
#: ../../library/fileinput.rst:173
295
301
msgid "The keyword parameter *mode* and *openhook* are now keyword-only."
@@ -299,7 +305,7 @@ msgstr "키워드 매개 변수 *mode*\\와 *openhook*\\은 이제 키워드 전
299
305
msgid ""
300
306
"The ``'rU'`` and ``'U'`` modes and the :meth:`!__getitem__` method have "
301
307
"been removed."
302
- msgstr ""
308
+ msgstr "``'rU'`` 및 ``'U'`` 모드와 :meth:`!__getitem__` 메서드는 제거했습니다. "
303
309
304
310
#: ../../library/fileinput.rst:184
305
311
msgid ""
@@ -345,12 +351,13 @@ msgid ""
345
351
msgstr ""
346
352
347
353
#: ../../library/fileinput.rst:208
348
- #, fuzzy
349
354
msgid ""
350
355
"Usage example: ``fi = "
351
356
"fileinput.FileInput(openhook=fileinput.hook_compressed, "
352
357
"encoding=\" utf-8\" )``"
353
- msgstr "사용 예: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed)``"
358
+ msgstr ""
359
+ "사용 예: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed, "
360
+ "encoding=\" utf-8\" )``"
354
361
355
362
#: ../../library/fileinput.rst:216
356
363
msgid ""
@@ -380,9 +387,3 @@ msgid ""
380
387
":class:`FileInput` now have *encoding* and *errors* parameters."
381
388
msgstr ""
382
389
383
- #~ msgid "The ``'rU'`` and ``'U'`` modes."
384
- #~ msgstr "``'rU'``\\와 ``'U'`` 모드."
385
-
386
- #~ msgid "Support for :meth:`__getitem__` method is deprecated."
387
- #~ msgstr ":meth:`__getitem__` 메서드에 대한 지원은 폐지되었습니다."
388
-
0 commit comments