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 <[email protected]>
  • Loading branch information
mattwang44 and ken71301 authored Nov 12, 2024
1 parent 9eacb41 commit d99da42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/signal.po
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ msgid ""
msgstr ""
"Python 訊號處理程式不會在低階(C 語言)訊號處理程式中執行。相反地,低階訊號處"
"理程式會設定一個旗標,告訴\\ :term:`虛擬機 <virtual machine>`\\ 在稍後執行相"
"對應的 Python 訊號處理程式(例如在下一個 :term:`bytecode` 指令)。這會有後"
"對應的 Python 訊號處理程式(例如在下一個 :term:`bytecode` 指令)。這會有一些後"
"果:"

#: ../../library/signal.rst:42
Expand Down Expand Up @@ -156,10 +156,10 @@ msgid ""
msgstr ""
"下面列出的訊號 (SIG*)、處理器(:const:`SIG_DFL`、:const:`SIG_IGN`)和訊號遮"
"罩 (sigmask)(:const:`SIG_BLOCK`、:const:`SIG_UNBLOCK`、:const:"
"`SIG_SETMASK`)相關常數被轉換成 :class:`enums <enum.IntEnum>`\\ (:class:"
"`SIG_SETMASK`)的相關常數被轉換成 :class:`enums <enum.IntEnum>`\\ (:class:"
"`Signals`、:class:`Handlers` 和 :class:`Sigmasks`)。:func:`getsignal`、:"
"func:`pthread_sigmask`、:func:`sigpending` 和 :func:`sigwait` 函式會回傳可被"
"人類讀取的\\ :class:`枚舉 <enum.IntEnum>`\\ 作為 :class:`Signals` 物件。"
"人類閱讀的\\ :class:`枚舉 <enum.IntEnum>`\\ 作為 :class:`Signals` 物件。"

#: ../../library/signal.rst:85
msgid "The signal module defines three enums:"
Expand Down Expand Up @@ -604,7 +604,7 @@ msgid ""
":data:`SIG_BLOCK`: The set of blocked signals is the union of the current "
"set and the *mask* argument."
msgstr ""
":data:`SIG_BLOCK`:被阻檔的訊號集合是目前訊號集合與 *mask* 參數的聯集。"
":data:`SIG_BLOCK`:被阻檔的訊號集合是目前訊號集合與 *mask* 引數的聯集。"

#: ../../library/signal.rst:456
msgid ""
Expand All @@ -628,7 +628,7 @@ msgid ""
"including all signals."
msgstr ""
"*mask* 是一組訊號編號(例如 {:const:`signal.SIGINT`, :const:`signal."
"SIGTERM`})。使用 :func:`~signal.valid_signals` 來取得包含所有訊號的完整遮"
"SIGTERM`})的集合。使用 :func:`~signal.valid_signals` 來取得包含所有訊號的完整遮"
"罩。"

#: ../../library/signal.rst:466
Expand Down

0 comments on commit d99da42

Please sign in to comment.