@@ -470,47 +470,58 @@ msgid ""
470
470
"Return the reconstituted object hierarchy of the pickled representation "
471
471
"*data* of an object. *data* must be a :term:`bytes-like object`."
472
472
msgstr ""
473
+ "回傳從 *data* 的 pickle 封包重建後的物件階層。*data* 必須是一個 :term:`bytes-"
474
+ "like object`。"
473
475
474
476
#: ../../library/pickle.rst:264
475
477
msgid ""
476
478
"Arguments *fix_imports*, *encoding*, *errors*, *strict* and *buffers* have "
477
479
"the same meaning as in the :class:`Unpickler` constructor."
478
480
msgstr ""
481
+ "引數 *fix_imports*、*encoding*、*errors*、*strict* 和 *buffers* 的意義與 :"
482
+ "class:`Unpickler` 建構式所用的相同。"
479
483
480
484
#: ../../library/pickle.rst:271
481
485
msgid "The :mod:`pickle` module defines three exceptions:"
482
- msgstr ""
486
+ msgstr ":mod:`pickle` 模組定義了以下三種例外: "
483
487
484
488
#: ../../library/pickle.rst:275
485
489
msgid ""
486
490
"Common base class for the other pickling exceptions. It inherits from :exc:"
487
491
"`Exception`."
488
492
msgstr ""
493
+ "繼承 :exc:`Exception` 類別。一個在封裝或拆封時遭遇其他例外時通用的基底類別。"
489
494
490
495
#: ../../library/pickle.rst:280
491
496
msgid ""
492
497
"Error raised when an unpicklable object is encountered by :class:`Pickler`. "
493
498
"It inherits from :exc:`PickleError`."
494
499
msgstr ""
500
+ "當 :class:`Pickler` 遭遇無法封裝物件時會引發的例外。繼承 :exc:`PickleError` "
501
+ "類別。"
495
502
496
503
#: ../../library/pickle.rst:283
497
504
msgid ""
498
505
"Refer to :ref:`pickle-picklable` to learn what kinds of objects can be "
499
506
"pickled."
500
- msgstr ""
507
+ msgstr "請參閱 :ref:`pickle-picklable` 以了解哪些物件是可以被封裝的。 "
501
508
502
509
#: ../../library/pickle.rst:288
503
510
msgid ""
504
511
"Error raised when there is a problem unpickling an object, such as a data "
505
512
"corruption or a security violation. It inherits from :exc:`PickleError`."
506
513
msgstr ""
514
+ "拆封物件時遇到問題(如資料毀損或違反安全性原則等)所引發的意外。繼承自 :exc:"
515
+ "`PickleError` 類別。"
507
516
508
517
#: ../../library/pickle.rst:291
509
518
msgid ""
510
519
"Note that other exceptions may also be raised during unpickling, including "
511
520
"(but not necessarily limited to) AttributeError, EOFError, ImportError, and "
512
521
"IndexError."
513
522
msgstr ""
523
+ "拆封的時候還是可能會遭遇其他不在此列的例外(例如:AttributeError、EOFError、"
524
+ "ImportError、或 IndexError),請注意。"
514
525
515
526
#: ../../library/pickle.rst:296
516
527
msgid ""
0 commit comments