55#
66# Translators:
77# tomo, 2020
8+ # Takanori Suzuki <takanori@takanory.net>, 2021
89#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2021-01-01 16:02+0000\n "
1516"PO-Revision-Date : 2019-09-01 03:33+0000\n "
16- "Last-Translator : tomo, 2020 \n "
17+ "Last-Translator : Takanori Suzuki <takanori@takanory.net>, 2021 \n "
1718"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
@@ -339,6 +340,8 @@ msgid ""
339340" object` *file*. This is equivalent to ``Pickler(file, "
340341"protocol).dump(obj)``."
341342msgstr ""
343+ "オブジェクト *obj* を pickle 化し、すでにオープンしている :term:`ファイルオブジェクト <file object>` *file*"
344+ " に書き込みます。``Pickler(file, protocol).dump(obj)`` と等価です。"
342345
343346#: ../../library/pickle.rst:196 ../../library/pickle.rst:298
344347msgid ""
@@ -375,7 +378,7 @@ msgstr ""
375378msgid ""
376379"Return the pickled representation of the object *obj* as a :class:`bytes` "
377380"object, instead of writing it to a file."
378- msgstr ""
381+ msgstr "ファイルに書く代わりに、:class:`bytes` オブジェクトとしてオブジェクト *obj* の pickle 表現を返します。 "
379382
380383#: ../../library/pickle.rst:215
381384msgid ""
@@ -389,13 +392,17 @@ msgid ""
389392"object` *file* and return the reconstituted object hierarchy specified "
390393"therein. This is equivalent to ``Unpickler(file).load()``."
391394msgstr ""
395+ "あるオブジェクトの pickle 表現を、オープンしている :term:`ファイルオブジェクト <file object>` *file* "
396+ "から読み込み、その中で指定されているオブジェクト階層に再構成して返します。これは ``Unpickler(file).load()`` と等価です。"
392397
393398#: ../../library/pickle.rst:224 ../../library/pickle.rst:250
394399msgid ""
395400"The protocol version of the pickle is detected automatically, so no protocol"
396401" argument is needed. Bytes past the pickled representation of the object "
397402"are ignored."
398403msgstr ""
404+ "pickle のプロトコルバージョンは自動的に検出されます。したがって protocol 引数は必要ありません。pickle "
405+ "化オブジェクト表現より後のバイト列は無視されます。"
399406
400407#: ../../library/pickle.rst:228
401408msgid ""
@@ -487,7 +494,7 @@ msgstr "pickle 化されたオブジェクトのデータストリームを書
487494msgid ""
488495"Write the pickled representation of *obj* to the open file object given in "
489496"the constructor."
490- msgstr ""
497+ msgstr "*obj* の pickle 化表現を、コンストラクターで与えられた、すでにオープンしているファイルオブジェクトに書き込みます。 "
491498
492499#: ../../library/pickle.rst:319
493500msgid "Do nothing by default. This exists so a subclass can override it."
@@ -604,6 +611,8 @@ msgid ""
604611" in the constructor, and return the reconstituted object hierarchy specified"
605612" therein. Bytes past the pickled representation of the object are ignored."
606613msgstr ""
614+ "コンストラクターで与えられたオープンしたファイルオブジェクトからオブジェクトの pickle "
615+ "化表現を読み込み、その中で指定されたオブジェクト階層に再構成して返します。オブジェクトの pickle 化表現より後のバイト列は無視されます。"
607616
608617#: ../../library/pickle.rst:393
609618msgid "Raise an :exc:`UnpicklingError` by default."
@@ -817,13 +826,15 @@ msgstr ""
817826msgid ""
818827":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is "
819828"defined."
820- msgstr ""
829+ msgstr ":meth:`__getnewargs_ex__` が定義されていると :meth:`__getnewargs__` は呼び出しません。 "
821830
822831#: ../../library/pickle.rst:530
823832msgid ""
824833"Before Python 3.6, :meth:`__getnewargs__` was called instead of "
825834":meth:`__getnewargs_ex__` in protocols 2 and 3."
826835msgstr ""
836+ "Python 3.6以前のプロトコル 2 と 3 では、:meth:`__getnewargs_ex__` の代わりに "
837+ ":meth:`__getnewargs__` が呼び出されていました。"
827838
828839#: ../../library/pickle.rst:537
829840msgid ""
@@ -1019,6 +1030,9 @@ msgid ""
10191030"pickler and unpickler, :meth:`~Pickler.persistent_id` and "
10201031":meth:`~Unpickler.persistent_load` respectively."
10211032msgstr ""
1033+ "そのような永続的 ID の分解能は :mod:`pickle` モジュールでは定義されていません; これはこの分解能を pickler および "
1034+ "unpickler のそれぞれ :meth:`~Pickler.persistent_id` および "
1035+ ":meth:`~Unpickler.persistent_load` 上でのユーザー定義メソッドに移譲します。"
10221036
10231037#: ../../library/pickle.rst:658
10241038msgid ""
@@ -1030,6 +1044,10 @@ msgid ""
10301044"object, along with a marker so that the unpickler will recognize it as a "
10311045"persistent ID."
10321046msgstr ""
1047+ "外部の永続的 ID を持つ pickle オブジェクトの pickler は、引数にオブジェクトを取り、``None`` かオブジェクトの永続的 ID "
1048+ "を返すカスタム :meth:`~Pickler.persistent_id` メソッドを持たなくてはなりません。``None`` "
1049+ "を返す場合、pickler は通常通りマーカーとともにオブジェクトを pickle 化するため、unpickler はそれを永続的 ID "
1050+ "として認識します。"
10331051
10341052#: ../../library/pickle.rst:665
10351053msgid ""
@@ -1257,6 +1275,8 @@ msgid ""
12571275"This is why :keyword:`lambda` functions cannot be pickled: all "
12581276":keyword:`!lambda` functions share the same name: ``<lambda>``."
12591277msgstr ""
1278+ "なぜ :keyword:`lambda` 関数を pickle 化できないかというと、すべての :keyword:`!lambda` 関数は同じ名前: "
1279+ "``<lambda>`` を共有しているからです。"
12601280
12611281#: ../../library/pickle.rst:930
12621282msgid ""
0 commit comments