@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.7\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2019-09-11 01:07 +0000\n "
14
+ "POT-Creation-Date : 2019-09-15 03:29 +0000\n "
15
15
"PO-Revision-Date : 2019-09-01 02:42+0000\n "
16
16
"Last-Translator : tomo, 2019\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -410,6 +410,12 @@ msgid ""
410
410
"binary mode) are read and returned. If the end of the file has been reached,"
411
411
" ``f.read()`` will return an empty string (``''``). ::"
412
412
msgstr ""
413
+ "ファイルの内容を読み出すには、 ``f.read(size)`` を呼び出します。このメソッドはある量のデータを読み出して、文字列 "
414
+ "(テキストモードの場合) か bytes オブジェクト (バイナリーモードの場合) として返します。 *size* はオプションの数値引数です。 "
415
+ "*size* "
416
+ "が省略されたり負の数であった場合、ファイルの内容全てを読み出して返します。ただし、ファイルがマシンのメモリの二倍の大きさもある場合にはどうなるかわかりません。"
417
+ " *size* が負でない数ならば、最大で (テキストモードの場合) *size* 文字、(バイナリモードの場合) *size* "
418
+ "バイトを読み出して返します。ファイルの終端にすでに達していた場合、 ``f.read()`` は空の文字列 (``''``) を返します。 ::"
413
419
414
420
#: ../../tutorial/inputoutput.rst:369
415
421
msgid ""
@@ -463,19 +469,18 @@ msgstr ""
463
469
464
470
#: ../../tutorial/inputoutput.rst:413
465
471
msgid ""
466
- "To change the file object's position, use ``f.seek(offset, from_what)``. "
467
- "The position is computed from adding *offset* to a reference point; the "
468
- "reference point is selected by the *from_what* argument. A *from_what* "
469
- "value of 0 measures from the beginning of the file, 1 uses the current file "
470
- "position, and 2 uses the end of the file as the reference point. "
471
- "*from_what* can be omitted and defaults to 0, using the beginning of the "
472
- "file as the reference point. ::"
473
- msgstr ""
474
- "ファイルオブジェクトの位置を変更するには、``f.seek(offset, from_what)`` を使います。ファイル位置は基準点 "
475
- "(reference point) にオフセット値 *offset* を足して計算されます。参照点は *from_what* "
476
- "引数で選びます。*from_what* の値が 0 ならばファイルの 先頭から測り、1 ならば現在のファイル位置を使い、2 "
477
- "ならばファイルの終端を参照点として使います。*from_what* は省略することができ、デフォルトの値は "
478
- "0、すなわち参照点としてファイルの先頭を使います。 ::"
472
+ "To change the file object's position, use ``f.seek(offset, whence)``. The "
473
+ "position is computed from adding *offset* to a reference point; the "
474
+ "reference point is selected by the *whence* argument. A *whence* value of 0"
475
+ " measures from the beginning of the file, 1 uses the current file position, "
476
+ "and 2 uses the end of the file as the reference point. *whence* can be "
477
+ "omitted and defaults to 0, using the beginning of the file as the reference "
478
+ "point. ::"
479
+ msgstr ""
480
+ "ファイルオブジェクトの位置を変更するには、``f.seek(offset, whence)`` を使います。ファイル位置は基準点 (reference "
481
+ "point) にオフセット値 *offset* を足して計算されます。参照点は *whence* 引数で選びます。*whence* の値が 0 "
482
+ "ならばファイルの 先頭から測り、1 ならば現在のファイル位置を使い、2 ならばファイルの終端を参照点として使います。*whence* "
483
+ "は省略することができ、デフォルトの値は 0、すなわち参照点としてファイルの先頭を使います。 ::"
479
484
480
485
#: ../../tutorial/inputoutput.rst:432
481
486
msgid ""
0 commit comments