8000 [po] auto sync · python/python-docs-zh-cn@1108c95 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1108c95

Browse files
[po] auto sync
1 parent 2ca3e94 commit 1108c95

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.63%", "updated_at": "2024-02-29T03:23:43Z"}
1+
{"translation": "91.64%", "updated_at": "2024-03-01T02:05:11Z"}

whatsnew/3.5.po

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

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

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

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

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

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

0 commit comments

Comments
 (0)
0