Skip to content

Commit

Permalink
fix(library/pickletools): apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 committed Dec 26, 2023
1 parent 000d07e commit 526a75c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions library/pickletools.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ msgid ""
"pickle file that you want to examine comes from an untrusted source, ``-m "
"pickletools`` is a safer option because it does not execute pickle bytecode."
msgstr ""
"當從命令列呼叫時,``python -m pickletools`` 將反彙編 (disassemble) 一個或多"
"pickle 檔案的內容。請注意,如果你想查看儲存在 pickle 中的 Python 物件而不"
"pickle 格式的詳細資訊,你可能需要使用 ``-m pickle``。但是,當你要檢查的 "
"當從命令列呼叫時,``python -m pickletools`` 將拆解 (disassemble) 一個或多個 "
"pickle 檔案的內容。請注意,如果你想查看儲存在 pickle 中的 Python 物件而不是 "
"pickle 格式的詳細資訊,你可能需要使用 ``-m pickle``。但是,當你要檢查的 "
"pickle 檔案來自不受信任的來源時,``-m pickletools`` 是一個更安全的選項,因為"
"它不執行 pickle 位元組碼。"

Expand All @@ -83,14 +83,14 @@ msgstr "新 MARK 級別縮進的空格數。"
#: ../../library/pickletools.rst:70
msgid ""
"When multiple objects are disassembled, preserve memo between disassemblies."
msgstr "當反彙編多個物件時,請在反彙編間保留備忘錄。"
msgstr "當拆解多個物件時,請在拆解間保留備忘錄。"

#: ../../library/pickletools.rst:75
msgid ""
"When more than one pickle file are specified, print given preamble before "
"each disassembly."
msgstr ""
"當指定多個 pickle 檔案時,會在每次反彙編之前印出給定的一段序言 (preamble)。"
"當指定多個 pickle 檔案時,會在每次拆解之前印出給定的一段序言 (preamble)。"

#: ../../library/pickletools.rst:81
msgid "Programmatic Interface"
Expand All @@ -108,10 +108,10 @@ msgid ""
"short description. The value of *annotate* is used as a hint for the column "
"where annotation should start."
msgstr ""
"將 pickle 的符號反彙編 (symbolic disassembly) 輸出到類檔案物件 *out*,預設為 "
"將 pickle 的符號拆解 (symbolic disassembly) 輸出到類檔案物件 *out*,預設為 "
"``sys.stdout``。*pickle* 可以是字串或類檔案物件。*memo* 可以是一個 Python 字"
"典,將用作 pickle 的備忘錄;它可用於對同一 pickler 建立的多個 pickle 執行反彙"
"。串流中由 ``MARK`` 操作碼指示的連續級別由 *indentlevel* 空格縮進。如果為 "
"典,將用作 pickle 的備忘錄;它可用於對同一 pickler 建立的多個 pickle 執行拆"
"。串流中由 ``MARK`` 操作碼指示的連續級別由 *indentlevel* 空格縮進。如果為 "
"*annotate* 指定非零值,則輸出中的每個操作碼都會用簡短的描述進行註釋。"
"*annotate* 的值用作為註釋之起始行提示。"

Expand Down

0 comments on commit 526a75c

Please sign in to comment.