@@ -967,6 +967,8 @@ msgid ""
967
967
"programmatically, the code changes that might possibly be required are "
968
968
"covered in the `Porting Python code`_ section of this document."
969
969
msgstr ""
970
+ "对于普通用户来说,语义上的变化应该是不可见的。 对于目前直接操纵 import 或以程序方式调用 import "
971
+ "的代码来说,可能需要进行的代码修改将在本文档的 `Porting Python code`_ 一节中阐述。"
970
972
971
973
#: ../../whatsnew/3.3.rst:706
972
974
msgid "New APIs"
@@ -1223,14 +1225,17 @@ msgid ""
1223
1225
"casefolded copy of the string, casefolded strings may be used for caseless "
1224
1226
"matching. For example, ``'ß'.casefold()`` returns ``'ss'``."
1225
1227
msgstr ""
1228
+ ":class:`str` 类型新增了一个 :meth:`~str.casefold` "
1229
+ "方法:返回字符串的大小写折叠副本,大小写折叠形式的字符串可被用于不区分大小写的匹配。 例如,``'ß'.casefold()`` 将返回 "
1230
+ "``'ss'``。"
1226
1231
1227
1232
#: ../../whatsnew/3.3.rst:854
1228
1233
msgid ""
1229
1234
"The sequence documentation has been substantially rewritten to better "
1230
1235
"explain the binary/text sequence distinction and to provide specific "
1231
1236
"documentation sections for the individual builtin sequence types "
1232
1237
"(:issue:`4966`)."
1233
- msgstr ""
1238
+ msgstr "序列的文档已被大幅重写以更好地解释二进制/序列的区别并为各种内置序列类型提供专属的文档章节 (:issue:`4966`)。 "
1234
1239
1235
1240
#: ../../whatsnew/3.3.rst:861
1236
1241
msgid "New Modules"
@@ -1250,6 +1255,11 @@ msgid ""
1250
1255
"startup by setting the :envvar:`PYTHONFAULTHANDLER` environment variable or "
1251
1256
"by using :option:`-X` ``faulthandler`` command line option."
1252
1257
msgstr ""
1258
+ "新增的调试模块 :mod:`faulthandler` 包含用于在发生错误(如段错误之类的程序崩溃),达到超时限制或收到用户信号时显式转储 Python"
1259
+ " 回溯的函数。 调用 :func:`faulthandler.enable` 可安装针对 :const:`SIGSEGV`, "
1260
+ ":const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS`, 和 :const:`SIGILL` "
1261
+ "信号的错误处理器。 你还可以在启动时通过设置 :envvar:`PYTHONFAULTHANDLER` 环境变量或使用 :option:`-X` "
1262
+ "``faulthandler`` 命令行选项来启用它们。"
1253
1263
1254
1264
#: ../../whatsnew/3.3.rst:874
1255
1265
msgid "Example of a segmentation fault on Linux:"
@@ -1693,7 +1703,7 @@ msgstr "12倍"
1693
1703
msgid ""
1694
1704
"The :exc:`~decimal.FloatOperation` signal optionally enables stricter "
1695
1705
"semantics for mixing floats and Decimals."
1696
- msgstr ""
1706
+ msgstr ":exc:`~decimal.FloatOperation` 信号可选择启用针对混用 float 和 Decimal 时更严格的语义限制。 "
1697
1707
1698
1708
#: ../../whatsnew/3.3.rst:1127
1699
1709
msgid ""