Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f5f7a8

Browse files
[po] auto sync
1 parent fe443f0 commit 4f5f7a8

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.01%", "updated_at": "2024-02-29T03:09:04Z"}
1+
{"translation": "91.02%", "updated_at": "2024-03-01T02:03:57Z"}

whatsnew/3.5.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,6 +2005,8 @@ msgid ""
20052005
":exc:`ValueError` to provide better context information about the error. "
20062006
"(Contributed by Serhiy Storchaka in :issue:`19361`.)"
20072007
msgstr ""
2008+
"现在 JSON 解码器会引发 :exc:`~json.JSONDecodeError` 而不是 :exc:`ValueError` "
2009+
"以提供有关错误的更好的上下文信息。 (由 Serhiy Storchaka 在 :issue:`19361` 中贡献。)"
20082010

20092011
#: ../../whatsnew/3.5.rst:1379
20102012
msgid "linecache"
@@ -2018,6 +2020,9 @@ msgid ""
20182020
"actually needed, without having to carry the module globals around "
20192021
"indefinitely. (Contributed by Robert Collins in :issue:`17911`.)"
20202022
msgstr ""
2023+
"新增的 :func:`~linecache.lazycache` 函数可用于捕获非基于文件的模块 的信息以允许在此后通过 "
2024+
":func:`~linecache.getline` 获取其行数据。 这样就可以避免在实际需要某一行之前执行 I/O 操作,从而不需要无限期地持有模块 "
2025+
"globals。 (由 Robert Collins 在 :issue:`17911` 中贡献。)"
20212026

20222027
#: ../../whatsnew/3.5.rst:1389
20232028
msgid "locale"
@@ -2029,6 +2034,8 @@ msgid ""
20292034
"into a normalized number string, taking the ``LC_NUMERIC`` settings into "
20302035
"account::"
20312036
msgstr ""
2037+
"新增的 :func:`~locale.delocalize` 函数可用于将字符串转换为表示规范化数字的字符串 ,并会考虑 ``LC_NUMERIC`` "
2038+
"的设置::"
20322039

20332040
#: ../../whatsnew/3.5.rst:1404
20342041
msgid "(Contributed by Cédric Krier in :issue:`13918`.)"
@@ -2045,6 +2052,9 @@ msgid ""
20452052
":meth:`~logging.Logger.debug`, etc.), now accept exception instances as an "
20462053
"*exc_info* argument, in addition to boolean values and exception tuples::"
20472054
msgstr ""
2055+
"所有日志记录方法(如 :class:`~logging.Logger` :meth:`~logging.Logger.log`, "
2056+
":meth:`~logging.Logger.exception`, :meth:`~logging.Logger.critical`, "
2057+
":meth:`~logging.Logger.debug` 等)的 *exc_info* 参数现在除接受布尔值和异常元组以外,也接受异常实例::"
20482058

20492059
#: ../../whatsnew/3.5.rst:1423
20502060
msgid "(Contributed by Yury Selivanov in :issue:`20537`.)"
@@ -2057,6 +2067,9 @@ msgid ""
20572067
"settings used in an HTTP connection. (Contributed by Alex Gaynor in "
20582068
":issue:`22788`.)"
20592069
msgstr ""
2070+
"现在 :class:`handlers.HTTPHandler <logging.handlers.HTTPHandler>` 类接受一个可选的 "
2071+
":class:`ssl.SSLContext` 实例来配置在 HTTP 连接中使用的 SSL 设置。 (由 Alex Gaynor 在 "
2072+
":issue:`22788` 中贡献。)"
20602073

20612074
#: ../../whatsnew/3.5.rst:1430
20622075
msgid ""

0 commit comments

Comments
 (0)