Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Payon <ken71301@hotmail.com>
  • Loading branch information
mattwang44 and ken71301 committed Aug 26, 2024
1 parent f563168 commit 6e250da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions c-api/perfmaps.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ msgid ""
"In Python, these helper APIs can be used by libraries and features that rely "
"on generating machine code on the fly."
msgstr ""
"在 Python 中,這些輔助 API 可供依賴運行期間 (on the fly) 產生機器碼的函式庫和"
"功能使用。"
"在 Python 中,這些輔助 API 可以被依賴於運行期間 (on the fly) 產生機器碼的函式庫和"
"功能所使用。"

#: ../../c-api/perfmaps.rst:19
msgid ""
Expand Down Expand Up @@ -75,15 +75,15 @@ msgid ""
"information about the cause of a failure."
msgstr ""
"建立/打開 perf map 檔案成功時回傳 ``0``,失敗時回傳 ``-1``,建立鎖時失敗則回"
"傳 ``-2``。檢查 ``errno`` 以獲取造成失敗的資訊。"
"傳 ``-2``。檢查 ``errno`` 以獲取更多造成失敗的資訊。"

#: ../../c-api/perfmaps.rst:35
msgid ""
"Write one single entry to the ``/tmp/perf-$pid.map`` file. This function is "
"thread safe. Here is what an example entry looks like::"
msgstr ""
"將單一條目寫入 ``/tmp/perf-$pid.map`` 檔案。此函式是執行緒安全的。以下是範例"
"條目的樣子:"
"將單一條目寫入 ``/tmp/perf-$pid.map`` 檔案。此函式是執行緒安全的。以下是一個"
"條目的範例:"

#: ../../c-api/perfmaps.rst:41
msgid ""
Expand All @@ -92,8 +92,8 @@ msgid ""
"same error codes as :c:func:`PyUnstable_PerfMapState_Init` on failure."
msgstr ""
"如果尚未開啟 perf map 檔案,將在寫入條目之前呼叫 :c:func:"
"`PyUnstable_PerfMapState_Init`。成功時回傳 ``0``,失敗時傳回與 :c:func:"
"`PyUnstable_PerfMapState_Init` 相同的錯誤碼。"
"`PyUnstable_PerfMapState_Init`。成功時回傳 ``0``,失敗時回傳與 :c:func:"
"`PyUnstable_PerfMapState_Init` 失敗時相同的錯誤碼。"

#: ../../c-api/perfmaps.rst:47
msgid ""
Expand Down

0 comments on commit 6e250da

Please sign in to comment.