8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f94e6a commit 984d6a8Copy full SHA for 984d6a8
.stat.json
@@ -1 +1 @@
1
-{"translation": "92.49%", "updated_at": "2024-04-15T16:25:07Z"}
+{"translation": "92.50%", "updated_at": "2024-04-16T02:25:34Z"}
whatsnew/3.4.po
@@ -17,7 +17,7 @@ msgid ""
17
msgstr ""
18
"Project-Id-Version: Python 3.9\n"
19
"Report-Msgid-Bugs-To: \n"
20
-"POT-Creation-Date: 2024-04-05 21:32+0000\n"
+"POT-Creation-Date: 2024-04-15 06:01+0000\n"
21
"PO-Revision-Date: 2017-02-16 23:44+0000\n"
22
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
23
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1555,13 +1555,19 @@ msgid ""
1555
":attr:`~http.server.HTTP.error_message_format` attribute and sent as the "
1556
"body of the error response. (Contributed by Karl Cow in :issue:`12921`.)"
1557
1558
+"现在 :meth:`~http.server.BaseHTTPRequestHandler.send_error` 接受可选的附加形参 "
1559
+"*explain* 用于提供扩展的错误描述,覆盖可能存在的硬编码的默认值。 这个扩展的描述将使用 "
1560
+":attr:`~http.server.HTTP.error_message_format` 进行格式化并作为错误响应体发送。 (由 Karl Cow "
1561
+"在 :issue:`12921` 中贡献。)"
1562
1563
#: ../../whatsnew/3.4.rst:965
1564
msgid ""
1565
"The :mod:`http.server` :ref:`command line interface <http-server-cli>` now "
1566
"has a ``-b/--bind`` option that causes the server to listen on a specific "
1567
"address. (Contributed by Malte Swart in :issue:`17764`.)"
1568
1569
+"现在 :mod:`http.server` :ref:`命令行界面 <http-server-cli>` 增加了一个 ``-b/--bind`` "
1570
+"选项用于让服务器在指定的地址上进行监听。 (由 Malte Swart 在 :issue:`17764` 中贡献。)"
1571
1572
#: ../../whatsnew/3.4.rst:971
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
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
@@ -1646,6 +1655,8 @@ msgid ""
1655
"universal newline processing. This is useful for implementing "
1656
":meth:`.InspectLoader.get_source` methods."
1657
1658
+":mod:`importlib.util` 中新增的函数 :func:`~importlib.util.decode_source` "
1659
+"可使用通用换行处理方式从字节数据中解码源代码。 这适用于实现 :meth:`.InspectLoader.get_source` 方法。"
1660
1661
#: ../../whatsnew/3.4.rst:1017
1662