Skip to content

Commit cce719e

Browse files
committed
docs(library/pickle.po): editing, up to line 525
1 parent de36d13 commit cce719e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

library/pickle.po

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,47 +470,58 @@ msgid ""
470470
"Return the reconstituted object hierarchy of the pickled representation "
471471
"*data* of an object. *data* must be a :term:`bytes-like object`."
472472
msgstr ""
473+
"回傳從 *data* 的 pickle 封包重建後的物件階層。*data* 必須是一個 :term:`bytes-"
474+
"like object`。"
473475

474476
#: ../../library/pickle.rst:264
475477
msgid ""
476478
"Arguments *fix_imports*, *encoding*, *errors*, *strict* and *buffers* have "
477479
"the same meaning as in the :class:`Unpickler` constructor."
478480
msgstr ""
481+
"引數 *fix_imports*、*encoding*、*errors*、*strict* 和 *buffers* 的意義與 :"
482+
"class:`Unpickler` 建構式所用的相同。"
479483

480484
#: ../../library/pickle.rst:271
481485
msgid "The :mod:`pickle` module defines three exceptions:"
482-
msgstr ""
486+
msgstr ":mod:`pickle` 模組定義了以下三種例外:"
483487

484488
#: ../../library/pickle.rst:275
485489
msgid ""
486490
"Common base class for the other pickling exceptions. It inherits from :exc:"
487491
"`Exception`."
488492
msgstr ""
493+
"繼承 :exc:`Exception` 類別。一個在封裝或拆封時遭遇其他例外時通用的基底類別。"
489494

490495
#: ../../library/pickle.rst:280
491496
msgid ""
492497
"Error raised when an unpicklable object is encountered by :class:`Pickler`. "
493498
"It inherits from :exc:`PickleError`."
494499
msgstr ""
500+
"當 :class:`Pickler` 遭遇無法封裝物件時會引發的例外。繼承 :exc:`PickleError` "
501+
"類別。"
495502

496503
#: ../../library/pickle.rst:283
497504
msgid ""
498505
"Refer to :ref:`pickle-picklable` to learn what kinds of objects can be "
499506
"pickled."
500-
msgstr ""
507+
msgstr "請參閱 :ref:`pickle-picklable` 以了解哪些物件是可以被封裝的。"
501508

502509
#: ../../library/pickle.rst:288
503510
msgid ""
504511
"Error raised when there is a problem unpickling an object, such as a data "
505512
"corruption or a security violation. It inherits from :exc:`PickleError`."
506513
msgstr ""
514+
"拆封物件時遇到問題(如資料毀損或違反安全性原則等)所引發的意外。繼承自 :exc:"
515+
"`PickleError` 類別。"
507516

508517
#: ../../library/pickle.rst:291
509518
msgid ""
510519
"Note that other exceptions may also be raised during unpickling, including "
511520
"(but not necessarily limited to) AttributeError, EOFError, ImportError, and "
512521
"IndexError."
513522
msgstr ""
523+
"拆封的時候還是可能會遭遇其他不在此列的例外(例如:AttributeError、EOFError、"
524+
"ImportError、或 IndexError),請注意。"
514525

515526
#: ../../library/pickle.rst:296
516527
msgid ""

0 commit comments

Comments
 (0)