Skip to content

Commit ecd0571

Browse files
sync with cpython d74117ac
1 parent 091ad0d commit ecd0571

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

library/exceptions.po

+22-15
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-11-19 00:18+0000\n"
11+
"POT-Creation-Date: 2022-11-24 00:18+0000\n"
1212
"PO-Revision-Date: 2018-05-23 16:01+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -36,9 +36,9 @@ msgstr ""
3636
#: ../../library/exceptions.rst:19
3737
msgid ""
3838
"The built-in exceptions listed below can be generated by the interpreter or "
39-
"built-in functions. Except where mentioned, they have an \"associated value"
40-
"\" indicating the detailed cause of the error. This may be a string or a "
41-
"tuple of several items of information (e.g., an error code and a string "
39+
"built-in functions. Except where mentioned, they have an \"associated "
40+
"value\" indicating the detailed cause of the error. This may be a string or "
41+
"a tuple of several items of information (e.g., an error code and a string "
4242
"explaining the code). The associated value is usually passed as arguments "
4343
"to the exception class's constructor."
4444
msgstr ""
@@ -369,8 +369,8 @@ msgstr ""
369369
#: ../../library/exceptions.rst:323
370370
msgid ""
371371
"This exception is raised when a system function returns a system-related "
372-
"error, including I/O failures such as \"file not found\" or \"disk full"
373-
"\" (not for illegal argument types or other incidental errors)."
372+
"error, including I/O failures such as \"file not found\" or \"disk "
373+
"full\" (not for illegal argument types or other incidental errors)."
374374
msgstr ""
375375

376376
#: ../../library/exceptions.rst:327
@@ -1071,19 +1071,26 @@ msgstr ""
10711071

10721072
#: ../../library/exceptions.rst:937
10731073
msgid ""
1074-
"Returns an exception group with the same :attr:`message`, :attr:"
1075-
"`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:"
1076-
"`__notes__` but which wraps the exceptions in ``excs``."
1074+
"Returns an exception group with the same :attr:`message`, but which wraps "
1075+
"the exceptions in ``excs``."
10771076
msgstr ""
10781077

1079-
#: ../../library/exceptions.rst:941
1078+
#: ../../library/exceptions.rst:940
10801079
msgid ""
10811080
"This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs "
10821081
"to override it in order to make :meth:`subgroup` and :meth:`split` return "
1083-
"instances of the subclass rather than :exc:`ExceptionGroup`. ::"
1082+
"instances of the subclass rather than :exc:`ExceptionGroup`."
10841083
msgstr ""
10851084

1086-
#: ../../library/exceptions.rst:953
1085+
#: ../../library/exceptions.rst:945
1086+
msgid ""
1087+
":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:"
1088+
"`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the "
1089+
"original exception group to the one returned by :meth:`derive`, so these "
1090+
"fields do not need to be updated by :meth:`derive`. ::"
1091+
msgstr ""
1092+
1093+
#: ../../library/exceptions.rst:974
10871094
msgid ""
10881095
"Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses "
10891096
"that need a different constructor signature need to override that rather "
@@ -1092,17 +1099,17 @@ msgid ""
10921099
"from it. ::"
10931100
msgstr ""
10941101

1095-
#: ../../library/exceptions.rst:968
1102+
#: ../../library/exceptions.rst:989
10961103
msgid ""
10971104
"Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which "
10981105
"is also a subclass of :exc:`Exception` can only wrap instances of :exc:"
10991106
"`Exception`."
11001107
msgstr ""
11011108

1102-
#: ../../library/exceptions.rst:976
1109+
#: ../../library/exceptions.rst:997
11031110
msgid "Exception hierarchy"
11041111
msgstr ""
11051112

1106-
#: ../../library/exceptions.rst:978
1113+
#: ../../library/exceptions.rst:999
11071114
msgid "The class hierarchy for built-in exceptions is:"
11081115
msgstr ""

0 commit comments

Comments
 (0)