Skip to content

Commit 6e250da

Browse files
mattwang44ken71301
andcommitted
Apply suggestions from code review
Co-authored-by: Payon <ken71301@hotmail.com>
1 parent f563168 commit 6e250da

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

c-api/perfmaps.po

+7-7
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ msgid ""
4545
"In Python, these helper APIs can be used by libraries and features that rely "
4646
"on generating machine code on the fly."
4747
msgstr ""
48-
"在 Python 中,這些輔助 API 可供依賴運行期間 (on the fly) 產生機器碼的函式庫和"
49-
"功能使用。"
48+
"在 Python 中,這些輔助 API 可以被依賴於運行期間 (on the fly) 產生機器碼的函式庫和"
49+
"功能所使用。"
5050

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

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

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

9898
#: ../../c-api/perfmaps.rst:47
9999
msgid ""

0 commit comments

Comments
 (0)