@@ -17,7 +17,7 @@ msgid ""
17
17
msgstr ""
18
18
"Project-Id-Version : Python 3.9\n "
19
19
"Report-Msgid-Bugs-To : \n "
20
- "POT-Creation-Date : 2024-04-05 21:32 +0000\n "
20
+ "POT-Creation-Date : 2024-04-15 06:01 +0000\n "
21
21
"PO-Revision-Date : 2017-02-16 23:44+0000\n "
22
22
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2024\n "
23
23
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1555,13 +1555,19 @@ msgid ""
1555
1555
":attr:`~http.server.HTTP.error_message_format` attribute and sent as the "
1556
1556
"body of the error response. (Contributed by Karl Cow in :issue:`12921`.)"
1557
1557
msgstr ""
1558
+ "现在 :meth:`~http.server.BaseHTTPRequestHandler.send_error` 接受可选的附加形参 "
1559
+ "*explain* 用于提供扩展的错误描述,覆盖可能存在的硬编码的默认值。 这个扩展的描述将使用 "
1560
+ ":attr:`~http.server.HTTP.error_message_format` 进行格式化并作为错误响应体发送。 (由 Karl Cow "
1561
+ "在 :issue:`12921` 中贡献。)"
1558
1562
1559
1563
#: ../../whatsnew/3.4.rst:965
1560
1564
msgid ""
1561
1565
"The :mod:`http.server` :ref:`command line interface <http-server-cli>` now "
1562
1566
"has a ``-b/--bind`` option that causes the server to listen on a specific "
1563
1567
"address. (Contributed by Malte Swart in :issue:`17764`.)"
1564
1568
msgstr ""
1569
+ "现在 :mod:`http.server` :ref:`命令行界面 <http-server-cli>` 增加了一个 ``-b/--bind`` "
1570
+ "选项用于让服务器在指定的地址上进行监听。 (由 Malte Swart 在 :issue:`17764` 中贡献。)"
1565
1571
1566
1572
#: ../../whatsnew/3.4.rst:971
1567
1573
msgid "idlelib and IDLE"
@@ -1638,6 +1644,9 @@ msgid ""
1638
1644
"can now be used with namespace packages. (Contributed by Brett Cannon in "
1639
1645
":issue:`18058`.)"
1640
1646
msgstr ""
1647
+ "现在 :mod:`importlib` 将以符合 :class:`.InspectLoader` ABC 的方式初始设置 "
1648
+ ":class:`.NamespaceLoader`,这意味着 ``runpy `` 和``python -m`` 现在可以与命名空间包一起使用。 (由 "
1649
+ "Brett Cannon 在 :issue:`18058` 中贡献。)"
1641
1650
1642
1651
#: ../../whatsnew/3.4.rst:1013
1643
1652
msgid ""
@@ -1646,6 +1655,8 @@ msgid ""
1646
1655
"universal newline processing. This is useful for implementing "
1647
1656
":meth:`.InspectLoader.get_source` methods."
1648
1657
msgstr ""
1658
+ ":mod:`importlib.util` 中新增的函数 :func:`~importlib.util.decode_source` "
1659
+ "可使用通用换行处理方式从字节数据中解码源代码。 这适用于实现 :meth:`.InspectLoader.get_source` 方法。"
1649
1660
1650
1661
#: ../../whatsnew/3.4.rst:1017
1651
1662
msgid ""
0 commit comments