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

Skip to content

Commit 330407f

Browse files
[po] auto sync
1 parent 6c6e716 commit 330407f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.78%", "updated_at": "2024-03-04T01:38:52Z"}
1+
{"translation": "91.79%", "updated_at": "2024-03-04T02:44:03Z"}

whatsnew/3.5.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,8 @@ msgid ""
23582358
"groups with empty strings instead of raising an exception. (Contributed by "
23592359
"Serhiy Storchaka in :issue:`1519638`.)"
23602360
msgstr ""
2361+
"现在 :func:`~re.sub` 和 :func:`~re.subn` 函数将用空字符串替换不匹配的分组而不是引发异常。 (由 Serhiy "
2362+
"Storchaka 在 :issue:`1519638` 中贡献。)"
23612363

23622364
#: ../../whatsnew/3.5.rst:1605
23632365
msgid ""
@@ -2366,6 +2368,9 @@ msgid ""
23662368
" and :attr:`~re.error.colno`, that provide better context information about "
23672369
"the error::"
23682370
msgstr ""
2371+
":class:`re.error` 异常添加了新的属性 :attr:`~re.error.msg`, "
2372+
":attr:`~re.error.pattern`, :attr:`~re.error.pos`, :attr:`~re.error.lineno` 和"
2373+
" :attr:`~re.error.colno`,以提供更详细的错误上下文信息::"
23692374

23702375
#: ../../whatsnew/3.5.rst:1619
23712376
msgid "(Contributed by Serhiy Storchaka in :issue:`22578`.)"
@@ -2381,6 +2386,8 @@ msgid ""
23812386
"the specified number of trailing elements in history to the given file. "
23822387
"(Contributed by Bruno Cauet in :issue:`22940`.)"
23832388
msgstr ""
2389+
"新增的 :func:`~readline.append_history_file` 函数可被用于将历史数据中指定数量的末尾元素添加到给定的文件中。 (由"
2390+
" Bruno Cauet 在 :issue:`22940` 中贡献。)"
23842391

23852392
#: ../../whatsnew/3.5.rst:1631
23862393
msgid "selectors"
@@ -2391,6 +2398,8 @@ msgid ""
23912398
"The new :class:`~selectors.DevpollSelector` supports efficient ``/dev/poll``"
23922399
" polling on Solaris. (Contributed by Giampaolo Rodola' in :issue:`18931`.)"
23932400
msgstr ""
2401+
"新增的 :class:`~selectors.DevpollSelector` 在 Solaris 上支持高效的 ``/dev/poll`` 轮询。 "
2402+
"(由 Giampaolo Rodola' 在 :issue:`18931` 中贡献。)"
23942403

23952404
#: ../../whatsnew/3.5.rst:1639
23962405
msgid "shutil"
@@ -2403,6 +2412,9 @@ msgid ""
24032412
"of the default :func:`~shutil.copy2` if there is a need to ignore file "
24042413
"metadata when moving. (Contributed by Claudiu Popa in :issue:`19840`.)"
24052414
msgstr ""
2415+
"现在 :func:`~shutil.move` 函数现在接受一个 *copy_function* "
2416+
"参数,举例来说,如果需要在移动文件时忽略其元数据,可以使用 :func:`~shutil.copy` 函数来代替默认的 "
2417+
":func:`~shutil.copy2`。 (由 Claudiu Popa 在 :issue:`19840` 中贡献。)"
24062418

24072419
#: ../../whatsnew/3.5.rst:1647
24082420
msgid ""

0 commit comments

Comments
 (0)
0