Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
 Apply "接受" and "直接造成的結果" from the code review. Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
  • Loading branch information
StevenHsuYL and mattwang44 authored Oct 24, 2022
commit 97647a2bf449273e6e9daa4b28101db824aef6e4
4 changes: 2 additions & 2 deletions tutorial/errors.po
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ msgid ""
"To indicate that an exception is a direct consequence of another, the :"
"keyword:`raise` statement allows an optional :keyword:`from<raise>` clause::"
msgstr ""
"為了表明一個例外是另一個例外的直接結果,:keyword:`raise` 陳述式容許一個選擇性"
"為了表明一個例外是另一個例外直接造成的結果,:keyword:`raise` 陳述式容許一個選擇性"
"的 :keyword:`from<raise>` 子句:\n"
"\n"
"::"
Expand Down Expand Up @@ -675,7 +675,7 @@ msgid ""
msgstr ""
"當一個例外是為了被引發而建立時,它通常會伴隨著一些資訊被初始化,這些資訊描述"
"了當下發生的錯誤。在某些情況,在例外被捕獲之後添加資訊會很有用。為此,例外具"
"有一個 ``add_note(note)`` method(方法),它可以接收一個字串並將其添加到例外"
"有一個 ``add_note(note)`` method(方法),它可以接受一個字串並將其添加到例外"
"的註解清單中。標準的回溯呈現會在例外之後列出所有的註解,並按照其被添加的順序"
"來排列。\n"
"\n"
Expand Down