Skip to content

Commit 9b9ae3c

Browse files
[po] auto sync
1 parent 0225c49 commit 9b9ae3c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.81%", "updated_at": "2024-04-29T07:21:41Z"}
1+
{"translation": "92.82%", "updated_at": "2024-04-30T03:23:46Z"}

whatsnew/3.4.po

+10
Original file line numberDiff line numberDiff line change
@@ -2249,6 +2249,8 @@ msgid ""
22492249
":keyword:`!with` block. (Contributed by Filip Gruszczyński in "
22502250
":issue:`13896`.)"
22512251
msgstr ""
2252+
"现在 :class:`~shelve.Shelf` 实例可以在 :keyword:`with` 语句中使用,并将在 :keyword:`!with` "
2253+
"代码块结束时自动关闭。 (由 Filip Gruszczyński 在 :issue:`13896` 中贡献。)"
22522254

22532255
#: ../../whatsnew/3.4.rst:1360
22542256
msgid "shutil"
@@ -2262,6 +2264,9 @@ msgid ""
22622264
"this specific error. (Contributed by Atsuo Ishimoto and Hynek Schlawack in "
22632265
":issue:`1492704`.)"
22642266
msgstr ""
2267+
"现在当源和目标为相同文件时 :func:`~shutil.copyfile` 会引发专门的 :exc:`~shutil.Error` 子类 "
2268+
":exc:`~shutil.SameFileError`,这允许应用程序针对这个特定错误采取适当的动作。 (由 Atsuo Ishimoto 和 "
2269+
"Hynek Schlawack 在 :issue:`1492704` 中贡献。)"
22652270

22662271
#: ../../whatsnew/3.4.rst:1370
22672272
msgid "smtpd"
@@ -2287,6 +2292,9 @@ msgid ""
22872292
"in one try/except statement by code that only cares whether or not an error "
22882293
"occurred. (Contributed by Ned Jackson Lovely in :issue:`2118`.)"
22892294
msgstr ""
2295+
"现在 :exc:`~smtplib.SMTPException` 是 :exc:`OSError` 的子类,它允许仅需关注是否有错误发生的代码在一个 "
2296+
"try/except 语句中同时捕获套接字级错误和 SMTP 协议级错误。 (由 Ned Jackson Lovely 在 :issue:`2118` "
2297+
"中贡献。)"
22902298

22912299
#: ../../whatsnew/3.4.rst:1389
22922300
msgid "socket"
@@ -2314,6 +2322,8 @@ msgid ""
23142322
"values using the new :mod:`enum` module. This allows meaningful names to be"
23152323
" printed during debugging, instead of integer \"magic numbers\"."
23162324
msgstr ""
2325+
"现在 ``socket.AF_*`` 和 ``socket.SOCK_*`` 常量是使用了新增的 :mod:`enum` 模块的枚举值。 "
2326+
"这允许在调试期间打印有意义的名称,而不是整数形式的“魔法数字”。"
23172327

23182328
#: ../../whatsnew/3.4.rst:1402
23192329
msgid "The :data:`~socket.AF_LINK` constant is now available on BSD and OSX."

0 commit comments

Comments
 (0)