8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.11\n "
10
10
"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 "
12
12
"PO-Revision-Date : 2018-05-23 16:01+0000\n "
13
13
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
14
14
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -36,9 +36,9 @@ msgstr ""
36
36
#: ../../library/exceptions.rst:19
37
37
msgid ""
38
38
"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 "
42
42
"explaining the code). The associated value is usually passed as arguments "
43
43
"to the exception class's constructor."
44
44
msgstr ""
@@ -369,8 +369,8 @@ msgstr ""
369
369
#: ../../library/exceptions.rst:323
370
370
msgid ""
371
371
"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)."
374
374
msgstr ""
375
375
376
376
#: ../../library/exceptions.rst:327
@@ -1071,19 +1071,26 @@ msgstr ""
1071
1071
1072
1072
#: ../../library/exceptions.rst:937
1073
1073
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``."
1077
1076
msgstr ""
1078
1077
1079
- #: ../../library/exceptions.rst:941
1078
+ #: ../../library/exceptions.rst:940
1080
1079
msgid ""
1081
1080
"This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs "
1082
1081
"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`."
1084
1083
msgstr ""
1085
1084
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
1087
1094
msgid ""
1088
1095
"Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses "
1089
1096
"that need a different constructor signature need to override that rather "
@@ -1092,17 +1099,17 @@ msgid ""
1092
1099
"from it. ::"
1093
1100
msgstr ""
1094
1101
1095
- #: ../../library/exceptions.rst:968
1102
+ #: ../../library/exceptions.rst:989
1096
1103
msgid ""
1097
1104
"Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which "
1098
1105
"is also a subclass of :exc:`Exception` can only wrap instances of :exc:"
1099
1106
"`Exception`."
1100
1107
msgstr ""
1101
1108
1102
- #: ../../library/exceptions.rst:976
1109
+ #: ../../library/exceptions.rst:997
1103
1110
msgid "Exception hierarchy"
1104
1111
msgstr ""
1105
1112
1106
- #: ../../library/exceptions.rst:978
1113
+ #: ../../library/exceptions.rst:999
1107
1114
msgid "The class hierarchy for built-in exceptions is:"
1108
1115
msgstr ""
0 commit comments