@@ -19,7 +19,7 @@ msgid ""
19
19
msgstr ""
20
20
"Project-Id-Version : Python 3.14\n "
21
21
"Report-Msgid-Bugs-To : \n "
22
- "POT-Creation-Date : 2025-05-09 14:19+0000\n "
22
+ "POT-Creation-Date : 2025-05-16 14:19+0000\n "
23
23
"PO-Revision-Date : 2021-06-28 01:06+0000\n "
24
24
"
Last-Translator :
Freesand Leo <[email protected] >, 2025\n "
25
25
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -576,7 +576,7 @@ msgstr "现在已支持从未识别的类型的下层比较函数返回 ``NotImp
576
576
msgid ""
577
577
"A singleton object used as a sentinel to reserve a place for positional "
578
578
"arguments when calling :func:`partial` and :func:`partialmethod`."
579
- msgstr ""
579
+ msgstr "一个单例对象,在调用 :func:`partial` 和 :func:`partialmethod` 时被用作给位置参数保留位置的哨兵值。 "
580
580
581
581
#: ../../library/functools.rst:341
582
582
msgid ""
@@ -600,6 +600,13 @@ msgid ""
600
600
" newfunc.keywords = keywords\n"
601
601
" return newfunc"
602
602
msgstr ""
603
+ "def partial(func, /, *args, **keywords):\n"
604
+ " def newfunc(*more_args, **more_keywords):\n"
605
+ " return func(*args, *more_args, **(keywords | more_keywords))\n"
606
+ " newfunc.func = func\n"
607
+ " newfunc.args = args\n"
608
+ " newfunc.keywords = keywords\n"
609
+ " return newfunc"
603
610
604
611
#: ../../library/functools.rst:356
605
612
msgid ""
0 commit comments