1212# tomo, 2020
1313# mollinaca, 2021
1414# Masaaki Kobashi <murmur2winzcud37dle@gmail.com>, 2021
15+ # Takanori Suzuki <takanori@takanory.net>, 2021
1516#
1617#, fuzzy
1718msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021"Report-Msgid-Bugs-To : \n "
2122"POT-Creation-Date : 2021-01-01 05:02+0000\n "
2223"PO-Revision-Date : 2017-02-16 23:22+0000\n "
23- "Last-Translator : Masaaki Kobashi <murmur2winzcud37dle@gmail.com >, 2021\n "
24+ "Last-Translator : Takanori Suzuki <takanori@takanory.net >, 2021\n "
2425"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2526"MIME-Version : 1.0\n "
2627"Content-Type : text/plain; charset=UTF-8\n "
@@ -191,6 +192,9 @@ msgid ""
191192"introspection facilities; complex cases can be tackled by implementing "
192193":ref:`specific object APIs <pickle-inst>`);"
193194msgstr ""
195+ "JSON は、デフォルトでは Python の組み込み型の一部しか表現することができず、カスタムクラスに対しても行えません; pickle "
196+ "は極めて多くの Python 組み込み型を表現できます (その多くは賢い Python 内省機構によって自動的に行われます; 複雑なケースでは "
197+ ":ref:`固有のオブジェクト API <pickle-inst>` によって対応できます)。"
194198
195199#: ../../library/pickle.rst:110
196200msgid ""
@@ -246,6 +250,8 @@ msgid ""
246250"The higher the protocol used, the more recent the version of Python needed "
247251"to read the pickle produced."
248252msgstr ""
253+ "現在 pickle 化には 6 種類のプロトコルを使用できます。より高いプロトコルを使用するほど、作成された pickle を読み込むためにより高い "
254+ "Python のバージョンが必要になります。"
249255
250256#: ../../library/pickle.rst:143
251257msgid ""
@@ -274,6 +280,8 @@ msgid ""
274280":class:`bytes` objects and cannot be unpickled by Python 2.x. This was the "
275281"default protocol in Python 3.0--3.7."
276282msgstr ""
283+ "プロトコルバージョン 3 は Python 3 で追加されました。 :class:`bytes` オブジェクトを明示的にサポートしており、 Python"
284+ " 2.x で unpickle することはできません。これは Python 3.0から3.7のデフォルトプロトコルでした。"
277285
278286#: ../../library/pickle.rst:157
279287msgid ""
@@ -282,6 +290,9 @@ msgid ""
282290" It is the default protocol starting with Python 3.8. Refer to :pep:`3154` "
283291"for information about improvements brought by protocol 4."
284292msgstr ""
293+ "プロトコルバージョン 4 は Python 3.4 で追加されました。このバージョンでは巨大なオブジェクトのサポート、より多くの種類のオブジェクトの "
294+ "pickle 化、および一部のデータ形式の最適化が行われました。これはPython 3.8からのデフォルトプロトコルです。プロトコル 4 "
295+ "による改良に関する情報は :pep:`3154` を参照してください。"
285296
286297#: ../../library/pickle.rst:163
287298msgid ""
@@ -351,11 +362,11 @@ msgstr ""
351362
352363#: ../../library/pickle.rst:207
353364msgid "The default protocol is 3."
354- msgstr ""
365+ msgstr "デフォルトプロトコルは 3 です。 "
355366
356367#: ../../library/pickle.rst:211
357368msgid "The default protocol is 4."
358- msgstr ""
369+ msgstr "デフォルトプロトコルは 4 です。 "
359370
360371#: ../../library/pickle.rst:213
361372msgid ""
@@ -369,6 +380,8 @@ msgid ""
369380" object` *file*. This is equivalent to ``Pickler(file, "
370381"protocol).dump(obj)``."
371382msgstr ""
383+ "オブジェクト *obj* を pickle 化し、すでにオープンしている :term:`ファイルオブジェクト <file object>` *file*"
384+ " に書き込みます。``Pickler(file, protocol).dump(obj)`` と等価です。"
372385
373386#: ../../library/pickle.rst:222
374387msgid ""
@@ -379,13 +392,13 @@ msgstr ""
379392#: ../../library/pickle.rst:225 ../../library/pickle.rst:236
380393#: ../../library/pickle.rst:328
381394msgid "The *buffer_callback* argument was added."
382- msgstr ""
395+ msgstr "*buffer_callback* 引数が追加されました。 "
383396
384397#: ../../library/pickle.rst:230
385398msgid ""
386399"Return the pickled representation of the object *obj* as a :class:`bytes` "
387400"object, instead of writing it to a file."
388- msgstr ""
401+ msgstr "ファイルに書く代わりに、:class:`bytes` オブジェクトとしてオブジェクト *obj* の pickle 表現を返します。 "
389402
390403#: ../../library/pickle.rst:233
391404msgid ""
@@ -399,13 +412,17 @@ msgid ""
399412"object` *file* and return the reconstituted object hierarchy specified "
400413"therein. This is equivalent to ``Unpickler(file).load()``."
401414msgstr ""
415+ "あるオブジェクトの pickle 化表現を、オープンしている :term:`ファイルオブジェクト <file object>` *file* "
416+ "から読み込み、その中で指定されているオブジェクト階層に再構成して返します。これは ``Unpickler(file).load()`` と等価です。"
402417
403418#: ../../library/pickle.rst:245 ../../library/pickle.rst:260
404419msgid ""
405420"The protocol version of the pickle is detected automatically, so no protocol"
406421" argument is needed. Bytes past the pickled representation of the object "
407422"are ignored."
408423msgstr ""
424+ "pickle のプロトコルバージョンは自動的に検出されます。したがって protocol 引数は必要ありません。pickle "
425+ "化オブジェクト表現より後のバイト列は無視されます。"
409426
410427#: ../../library/pickle.rst:249 ../../library/pickle.rst:264
411428msgid ""
@@ -416,7 +433,7 @@ msgstr ""
416433#: ../../library/pickle.rst:252 ../../library/pickle.rst:267
417434#: ../../library/pickle.rst:429
418435msgid "The *buffers* argument was added."
419- msgstr ""
436+ msgstr "*buffers* 引数が追加されました。 "
420437
421438#: ../../library/pickle.rst:257
422439msgid ""
@@ -470,6 +487,8 @@ msgid ""
470487"The :mod:`pickle` module exports three classes, :class:`Pickler`, "
471488":class:`Unpickler` and :class:`PickleBuffer`:"
472489msgstr ""
490+ ":mod:`pickle` モジュールでは、3 つのクラス :class:`Pickler`, :class:`Unpickler` および "
491+ ":class:`PickleBuffer` を提供しています:"
473492
474493#: ../../library/pickle.rst:301
475494msgid "This takes a binary file for writing a pickle data stream."
@@ -530,7 +549,7 @@ msgstr ""
530549msgid ""
531550"Write the pickled representation of *obj* to the open file object given in "
532551"the constructor."
533- msgstr ""
552+ msgstr "*obj* の pickle 化表現を、コンストラクターで与えられた、すでにオープンしているファイルオブジェクトに書き込みます。 "
534553
535554#: ../../library/pickle.rst:338
536555msgid "Do nothing by default. This exists so a subclass can override it."
@@ -671,6 +690,8 @@ msgid ""
671690" in the constructor, and return the reconstituted object hierarchy specified"
672691" therein. Bytes past the pickled representation of the object are ignored."
673692msgstr ""
693+ "コンストラクターで与えられたオープンしたファイルオブジェクトからオブジェクトの pickle "
694+ "化表現を読み込み、その中で指定されたオブジェクト階層に再構成して返します。オブジェクトの pickle 化表現より後のバイト列は無視されます。"
674695
675696#: ../../library/pickle.rst:441
676697msgid "Raise an :exc:`UnpicklingError` by default."
@@ -711,6 +732,8 @@ msgid ""
711732"Raises an :ref:`auditing event <auditing>` ``pickle.find_class`` with "
712733"arguments ``module``, ``name``."
713734msgstr ""
735+ "引数 ``modulet``, ``name`` を指定して :ref:`監査イベント <auditing>` "
736+ "``pickle.find_class`` を送出します。 "
714737
715738#: ../../library/pickle.rst:464
716739msgid ""
@@ -923,13 +946,15 @@ msgstr ""
923946msgid ""
924947":meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is "
925948"defined."
926- msgstr ""
949+ msgstr ":meth:`__getnewargs_ex__` が定義されていると :meth:`__getnewargs__` は呼び出しません。 "
927950
928951#: ../../library/pickle.rst:607
929952msgid ""
930953"Before Python 3.6, :meth:`__getnewargs__` was called instead of "
931954":meth:`__getnewargs_ex__` in protocols 2 and 3."
932955msgstr ""
956+ "Python 3.6以前のプロトコル 2 と 3 では、:meth:`__getnewargs_ex__` の代わりに "
957+ ":meth:`__getnewargs__` が呼び出されていました。"
933958
934959#: ../../library/pickle.rst:614
935960msgid ""
@@ -1031,6 +1056,8 @@ msgid ""
10311056"Optional items can either be omitted, or ``None`` can be provided as their "
10321057"value. The semantics of each item are in order:"
10331058msgstr ""
1059+ "タプルが返された場合、それは 2〜6 要素長でなければなりません。オプションのアイテムは省略することができます。あるいはそれらの値として "
1060+ "``None`` を渡すことができます。各要素の意味は順に:"
10341061
10351062#: ../../library/pickle.rst:678
10361063msgid ""
@@ -1136,6 +1163,9 @@ msgid ""
11361163"pickler and unpickler, :meth:`~Pickler.persistent_id` and "
11371164":meth:`~Unpickler.persistent_load` respectively."
11381165msgstr ""
1166+ "そのような永続的 ID の分解能は :mod:`pickle` モジュールでは定義されていません; これはこの分解能を pickler および "
1167+ "unpickler のそれぞれ :meth:`~Pickler.persistent_id` および "
1168+ ":meth:`~Unpickler.persistent_load` 上でのユーザー定義メソッドに移譲します。"
11391169
11401170#: ../../library/pickle.rst:744
11411171msgid ""
@@ -1147,6 +1177,10 @@ msgid ""
11471177"object, along with a marker so that the unpickler will recognize it as a "
11481178"persistent ID."
11491179msgstr ""
1180+ "外部の永続的 ID を持つ pickle オブジェクトの pickler は、引数にオブジェクトを取り、``None`` かオブジェクトの永続的 ID "
1181+ "を返すカスタム :meth:`~Pickler.persistent_id` メソッドを持たなくてはなりません。``None`` "
1182+ "を返す場合、pickler は通常通りマーカーとともにオブジェクトを pickle 化するため、unpickler はそれを永続的 ID "
1183+ "として認識します。"
11501184
11511185#: ../../library/pickle.rst:751
11521186msgid ""
@@ -1542,6 +1576,8 @@ msgid ""
15421576"This is why :keyword:`lambda` functions cannot be pickled: all "
15431577":keyword:`!lambda` functions share the same name: ``<lambda>``."
15441578msgstr ""
1579+ "なぜ :keyword:`lambda` 関数を pickle 化できないかというと、すべての :keyword:`!lambda` 関数は同じ名前: "
1580+ "``<lambda>`` を共有しているからです。"
15451581
15461582#: ../../library/pickle.rst:1194
15471583msgid ""
0 commit comments