File tree 2 files changed +8
-3
lines changed
Filter options
2 files changed +8
-3
lines changed
Original file line number Diff line number Diff line change 1
- {"translation" : " 83.11%" , "updated_at" : " 2025-04-27T06:19:06Z " }
1
+ {"translation" : " 83.11%" , "updated_at" : " 2025-04-27T07:17:54Z " }
Original file line number Diff line number Diff line change @@ -1101,16 +1101,18 @@ msgid ""
1101
1101
"supported; it will be deprecated in Python 3.1 and removed from the "
1102
1102
"language at some later time.) Read :pep:`3101` for the full scoop."
1103
1103
msgstr ""
1104
+ "一种针对内置字符串格式化操作的新系统替代了 ``%`` 字符串格式化运算符。 (不过,``%`` 运算符仍然受到支持;它将在 Python 3.1 "
1105
+ "中被弃用并在今后某一时刻从语言特性中移除。) 请参阅 :pep:`3101` 了解详情。"
1104
1106
1105
1107
#: ../../whatsnew/3.0.rst:685
1106
1108
msgid "Changes To Exceptions"
1107
- msgstr ""
1109
+ msgstr "对异常的修改 "
1108
1110
1109
1111
#: ../../whatsnew/3.0.rst:687
1110
1112
msgid ""
1111
1113
"The APIs for raising and catching exception have been cleaned up and new "
1112
1114
"powerful features added:"
1113
- msgstr ""
1115
+ msgstr "用于引发和捕获异常的 API 已经过清理并增加了强大的新特性: "
1114
1116
1115
1117
#: ../../whatsnew/3.0.rst:690
1116
1118
msgid ""
@@ -1121,6 +1123,9 @@ msgid ""
1121
1123
"be raised, and placed no restriction on what you can catch.) As a "
1122
1124
"consequence, string exceptions are finally truly and utterly dead."
1123
1125
msgstr ""
1126
+ ":pep:`352`: 所有异常都必须(直接或间接地)派生自 :exc:`BaseException`。 这是异常层级结构的根对象。 "
1127
+ "作为推荐方式这并不是新的变化,但 *必须* 从 :exc:`BaseException` 继承是新的变化。 (Python 2.6 "
1128
+ "仍然允许引发经典类,并且不限制你能捕获的异常。) 作为此变化的结果,字符串异常终于真正彻底地死亡了。"
1124
1129
1125
1130
#: ../../whatsnew/3.0.rst:698
1126
1131
msgid ""
You can’t perform that action at this time.
0 commit comments