5
5
#
6
6
# Translators:
7
7
# tomo, 2020
8
+ # Takanori Suzuki <[email protected] >, 2021
8
9
#
9
10
#, fuzzy
10
11
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
13
14
"Report-Msgid-Bugs-To : \n "
14
15
"POT-Creation-Date : 2021-01-01 16:02+0000\n "
15
16
"PO-Revision-Date : 2019-09-01 03:33+0000\n "
16
- "Last-Translator : tomo, 2020 \n "
17
+ "
Last-Translator :
Takanori Suzuki <[email protected] >, 2021 \n"
17
18
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
18
19
"MIME-Version : 1.0\n "
19
20
"Content-Type : text/plain; charset=UTF-8\n "
@@ -339,6 +340,8 @@ msgid ""
339
340
" object` *file*. This is equivalent to ``Pickler(file, "
340
341
"protocol).dump(obj)``."
341
342
msgstr ""
343
+ "オブジェクト *obj* を pickle 化し、すでにオープンしている :term:`ファイルオブジェクト <file object>` *file*"
344
+ " に書き込みます。``Pickler(file, protocol).dump(obj)`` と等価です。"
342
345
343
346
#: ../../library/pickle.rst:196 ../../library/pickle.rst:298
344
347
msgid ""
@@ -375,7 +378,7 @@ msgstr ""
375
378
msgid ""
376
379
"Return the pickled representation of the object *obj* as a :class:`bytes` "
377
380
"object, instead of writing it to a file."
378
- msgstr ""
381
+ msgstr "ファイルに書く代わりに、:class:`bytes` オブジェクトとしてオブジェクト *obj* の pickle 表現を返します。 "
379
382
380
383
#: ../../library/pickle.rst:215
381
384
msgid ""
@@ -389,13 +392,17 @@ msgid ""
389
392
"object` *file* and return the reconstituted object hierarchy specified "
390
393
"therein. This is equivalent to ``Unpickler(file).load()``."
391
394
msgstr ""
395
+ "あるオブジェクトの pickle 表現を、オープンしている :term:`ファイルオブジェクト <file object>` *file* "
396
+ "から読み込み、その中で指定されているオブジェクト階層に再構成して返します。これは ``Unpickler(file).load()`` と等価です。"
392
397
393
398
#: ../../library/pickle.rst:224 ../../library/pickle.rst:250
394
399
msgid ""
395
400
"The protocol version of the pickle is detected automatically, so no protocol"
396
401
" argument is needed. Bytes past the pickled representation of the object "
397
402
"are ignored."
398
403
msgstr ""
404
+ "pickle のプロトコルバージョンは自動的に検出されます。したがって protocol 引数は必要ありません。pickle "
405
+ "化オブジェクト表現より後のバイト列は無視されます。"
399
406
400
407
#: ../../library/pickle.rst:228
401
408
msgid ""
@@ -487,7 +494,7 @@ msgstr "pickle 化されたオブジェクトのデータストリームを書
487
494
msgid ""
488
495
"Write the pickled representation of *obj* to the open file object given in "
489
496
"the constructor."
490
- msgstr ""
497
+ msgstr "*obj* の pickle 化表現を、コンストラクターで与えられた、すでにオープンしているファイルオブジェクトに書き込みます。 "
491
498
492
499
#: ../../library/pickle.rst:319
493
500
msgid "Do nothing by default. This exists so a subclass can override it."
@@ -604,6 +611,8 @@ msgid ""
604
611
" in the constructor, and return the reconstituted object hierarchy specified"
605
612
" therein. Bytes past the pickled representation of the object are ignored."
606
613
msgstr ""
614
+ "コンストラクターで与えられたオープンしたファイルオブジェクトからオブジェクトの pickle "
615
+ "化表現を読み込み、その中で指定されたオブジェクト階層に再構成して返します。オブジェクトの pickle 化表現より後のバイト列は無視されます。"
607
616
608
617
#: ../../library/pickle.rst:393
609
618
msgid "Raise an :exc:`UnpicklingError` by default."
@@ -817,13 +826,15 @@ msgstr ""
817
826
msgid ""
818
827
":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is "
819
828
"defined."
820
- msgstr ""
829
+ msgstr ":meth:`__getnewargs_ex__` が定義されていると :meth:`__getnewargs__` は呼び出しません。 "
821
830
822
831
#: ../../library/pickle.rst:530
823
832
msgid ""
824
833
"Before Python 3.6, :meth:`__getnewargs__` was called instead of "
825
834
":meth:`__getnewargs_ex__` in protocols 2 and 3."
826
835
msgstr ""
836
+ "Python 3.6以前のプロトコル 2 と 3 では、:meth:`__getnewargs_ex__` の代わりに "
837
+ ":meth:`__getnewargs__` が呼び出されていました。"
827
838
828
839
#: ../../library/pickle.rst:537
829
840
msgid ""
@@ -1019,6 +1030,9 @@ msgid ""
1019
1030
"pickler and unpickler, :meth:`~Pickler.persistent_id` and "
1020
1031
":meth:`~Unpickler.persistent_load` respectively."
1021
1032
msgstr ""
1033
+ "そのような永続的 ID の分解能は :mod:`pickle` モジュールでは定義されていません; これはこの分解能を pickler および "
1034
+ "unpickler のそれぞれ :meth:`~Pickler.persistent_id` および "
1035
+ ":meth:`~Unpickler.persistent_load` 上でのユーザー定義メソッドに移譲します。"
1022
1036
1023
1037
#: ../../library/pickle.rst:658
1024
1038
msgid ""
@@ -1030,6 +1044,10 @@ msgid ""
1030
1044
"object, along with a marker so that the unpickler will recognize it as a "
1031
1045
"persistent ID."
1032
1046
msgstr ""
1047
+ "外部の永続的 ID を持つ pickle オブジェクトの pickler は、引数にオブジェクトを取り、``None`` かオブジェクトの永続的 ID "
1048
+ "を返すカスタム :meth:`~Pickler.persistent_id` メソッドを持たなくてはなりません。``None`` "
1049
+ "を返す場合、pickler は通常通りマーカーとともにオブジェクトを pickle 化するため、unpickler はそれを永続的 ID "
1050
+ "として認識します。"
1033
1051
1034
1052
#: ../../library/pickle.rst:665
1035
1053
msgid ""
@@ -1257,6 +1275,8 @@ msgid ""
1257
1275
"This is why :keyword:`lambda` functions cannot be pickled: all "
1258
1276
":keyword:`!lambda` functions share the same name: ``<lambda>``."
1259
1277
msgstr ""
1278
+ "なぜ :keyword:`lambda` 関数を pickle 化できないかというと、すべての :keyword:`!lambda` 関数は同じ名前: "
1279
+ "``<lambda>`` を共有しているからです。"
1260
1280
1261
1281
#: ../../library/pickle.rst:930
1262
1282
msgid ""
0 commit comments